From 07bb48e79d3f03f55bbf72556e63ae192a12c0b1 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Sat, 14 Mar 2009 04:16:34 +0000 Subject: [PATCH] [MRM-1117] o move advanced search out of the 'info' pop up, added a link of it's own instead git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753598 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/web/action/SearchAction.java | 4 +-- .../main/webapp/WEB-INF/jsp/quickSearch.jsp | 31 ++++++++++--------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/SearchAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/SearchAction.java index c5d017bf7..dab1bf0eb 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/SearchAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/SearchAction.java @@ -22,7 +22,7 @@ package org.apache.maven.archiva.web.action; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Collections; -import java.util.HashMap; +import java.util.LinkedHashMap; import java.util.List; import java.util.Map; @@ -163,7 +163,7 @@ public class SearchAction managedRepositoryList.add( "all" ); } - searchFields = new HashMap(); + searchFields = new LinkedHashMap(); searchFields.put( "groupId", "Group ID" ); searchFields.put( "artifactId", "Artifact ID" ); searchFields.put( "version", "Version" ); diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp index 8d93fe90c..0fe76dcd0 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp @@ -100,20 +100,8 @@

- - -
- Enter your search terms. A variety of data will be searched for your keywords. " /> - - - - - + Advanced Search >> +
- * To perform a boolean NOT search, use the keyword NOT after your search - term, followed by the term you want to exclude. For example, to exclude artifacts with - a dependency on the artifact you are searching for from showing up in the search results: - myQueryTerm NOT dependency -
+
+ +
+ Enter your search terms. A variety of data will be searched for your keywords. " /> + + + + +
+ * To perform a boolean NOT search, use the keyword NOT after your search + term, followed by the term you want to exclude. For example, to exclude artifacts with + a dependency on the artifact you are searching for from showing up in the search results: + myQueryTerm NOT dependency +
+ \ No newline at end of file -- 2.39.5