Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-09-20 15:43:56 -0400
committerRyan D. Brooks2010-09-20 15:43:56 -0400
commit89577585ea6acdf61fe4b8763ac848034c63d73e (patch)
tree2d6730febdb31bfcd6219816a22a70524ffd2e19 /plugins
parenta44accb2e62aa8d96e6d31002d09290b567cdcfc (diff)
downloadorg.eclipse.osee-89577585ea6acdf61fe4b8763ac848034c63d73e.tar.gz
org.eclipse.osee-89577585ea6acdf61fe4b8763ac848034c63d73e.tar.xz
org.eclipse.osee-89577585ea6acdf61fe4b8763ac848034c63d73e.zip
bug[ats_UNJKK]: Fix ArtifactQuery.getArtifactListFromAttributeKeywords to set search options
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQuery.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQuery.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQuery.java
index 980d927d33..639f27e5bb 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQuery.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/search/ArtifactQuery.java
@@ -434,13 +434,13 @@ public class ArtifactQuery {
* @return a collection of the artifacts found or an empty collection if none are found
*/
public static List<Artifact> getArtifactListFromAttributeKeywords(IOseeBranch branch, String queryString, boolean isMatchWordOrder, DeletionFlag deletionFlag, boolean isCaseSensitive, IAttributeType... attributeTypes) throws OseeCoreException {
- SearchOptions options = new SearchOptions();
+ SearchRequest searchRequest = new SearchRequest(branch, queryString);
+ SearchOptions options = searchRequest.getOptions();
options.setAttributeTypeFilter(attributeTypes);
options.setCaseSensive(isCaseSensitive);
options.setDeletedIncluded(deletionFlag);
options.setMatchWordOrder(isMatchWordOrder);
- SearchRequest searchRequest = new SearchRequest(branch, queryString);
return new HttpArtifactQuery(searchRequest).getArtifacts(FULL, INCLUDE_CACHE);
}

Back to the top