From b721c90feadd2674c88ef62e332ef2960125062e Mon Sep 17 00:00:00 2001
From: "Maria Odea B. Ching"
Date: Wed, 29 Oct 2008 02:12:09 +0000
Subject: [PATCH] [MRM-985] o included boolean NOT search in search hints o
changed search hints to appear only when toggled (used jquery)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@708752 13f79535-47bb-0310-9956-ffa450edef68
---
.../main/webapp/WEB-INF/jsp/quickSearch.jsp | 46 ++++++++++++++-----
1 file changed, 34 insertions(+), 12 deletions(-)
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 b9d0c70f5..6684296ed 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
@@ -18,10 +18,24 @@
--%>
<%@ taglib prefix="s" uri="/struts-tags" %>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
+
Quick Search
+
+
@@ -38,10 +52,6 @@
-
-
Advanced Search >>
@@ -52,14 +62,26 @@
-
- Enter your search terms. A variety of data will be searched for your keywords.
- To search for Java classes, packages or methods, use the keyword bytecode:
- before the term. For example:
- bytecode:MyClass
, or:
- bytecode:myMethod
-
+
+ Enter your search terms. A variety of data will be searched for your keywords.
" />
+
+
+
+ * To search for Java classes, packages or methods, use the keyword bytecode:
+ before the term. For example: bytecode:MyClass , or bytecode:myMethod
+ |
+
+
+
+ * 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
+ |
+
+
+
-