Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2014-02-03 22:07:20 +0000
committerGerrit Code Review @ Eclipse.org2014-02-03 22:24:52 +0000
commit9c7503785bac2be0223a47aad655858d555ee800 (patch)
tree2148009f193e04dd52705feea4fbc23120536b68 /plugins
parentf0c59aa899008dbdddc3daa64861e54573e32d45 (diff)
downloadorg.eclipse.osee-9c7503785bac2be0223a47aad655858d555ee800.tar.gz
org.eclipse.osee-9c7503785bac2be0223a47aad655858d555ee800.tar.xz
org.eclipse.osee-9c7503785bac2be0223a47aad655858d555ee800.zip
bug[ats_ATS18624]: Quick Search deleted not working as expected
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/search/ArtifactMatchDataHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/search/ArtifactMatchDataHandler.java b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/search/ArtifactMatchDataHandler.java
index f135b321b1..82ae3c9990 100644
--- a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/search/ArtifactMatchDataHandler.java
+++ b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/search/ArtifactMatchDataHandler.java
@@ -16,6 +16,7 @@ import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
+import org.eclipse.osee.framework.core.enums.DeletionFlag;
import org.eclipse.osee.framework.jdk.core.type.MatchLocation;
import org.eclipse.osee.framework.jdk.core.type.OseeCoreException;
import org.eclipse.osee.orcs.OrcsSession;
@@ -142,7 +143,8 @@ public class ArtifactMatchDataHandler extends LoadDataHandlerDecorator {
@Override
public Collection<AttributeReadable<?>> getElements() throws OseeCoreException {
Collection<AttributeReadable<?>> filtered = Lists.newLinkedList();
- for (AttributeReadable<?> attribute : item.getAttributes()) {
+ // look at all attributes since search already filters on deletion flag
+ for (AttributeReadable<?> attribute : item.getAttributes(DeletionFlag.INCLUDE_DELETED)) {
if (matches.containsKey(attribute.getLocalId())) {
filtered.add(attribute);
}

Back to the top