summaryrefslogtreecommitdiffstats
path: root/localconfig.js
diff options
context:
space:
mode:
authorcyeh%bluemartini.com <>2001-03-01 08:07:24 +0100
committercyeh%bluemartini.com <>2001-03-01 08:07:24 +0100
commit5b2994b0ce4cf27709b3742a2b63a680464662a0 (patch)
treeac2b46dde7b3a19475df1a8400e99bc3c120e283 /localconfig.js
parentd0605ef9490b55c38d090c21b5993eda143e7e86 (diff)
downloadbugzilla-5b2994b0ce4cf27709b3742a2b63a680464662a0.tar.gz
bugzilla-5b2994b0ce4cf27709b3742a2b63a680464662a0.tar.xz
fix for 69793: check in new files for QuickSearch
patch contributed by franke@ags.uni-sb.de (Andreas Franke) Now add quicksearch functionality to the main index page.
Diffstat (limited to 'localconfig.js')
-rw-r--r--localconfig.js75
1 files changed, 75 insertions, 0 deletions
diff --git a/localconfig.js b/localconfig.js
new file mode 100644
index 000000000..7cb01eb74
--- /dev/null
+++ b/localconfig.js
@@ -0,0 +1,75 @@
+//
+// This file contains the installation specific values for QuickSearch.
+// See quicksearch.js for more details.
+//
+
+// the global bugzilla url
+
+var bugzilla = "";
+//var bugzilla = "http://bugzilla.mozilla.org/";
+
+// Status and Resolution
+// =====================
+
+var statuses_open = new Array("UNCONFIRMED","NEW","ASSIGNED","REOPENED");
+var statuses_resolved = new Array("RESOLVED","VERIFIED","CLOSED");
+var resolutions = new Array("FIXED","INVALID","WONTFIX","LATER",
+ "REMIND","DUPLICATE","WORKSFORME","MOVED");
+
+// Keywords
+// ========
+//
+// Enumerate all your keywords here. This is necessary to avoid
+// "foo is not a legal keyword" errors. This makes it possible
+// to include the keywords field in the search by default.
+
+var keywords = new Array(
+// "foo", "bar", "baz"
+);
+
+// Platforms
+// =========
+//
+// A list of words <w> (substrings of platform values)
+// that will automatically be translated to "platform:<w>"
+// E.g. if "mac" is defined as a platform, then searching
+// for it will find all bugs with platform="Macintosh",
+// but no other bugs with e.g. "mac" in the summary.
+
+var platforms = new Array(
+"pc","sun","macintosh","mac" //shortcut added
+//,"dec","hp","sgi"
+//,"all" //this is a legal value for OpSys, too :(
+//,"other"
+);
+
+// Severities
+// ==========
+//
+// A list of words <w> (substrings of severity values)
+// that will automatically be translated to "severity:<w>"
+// E.g with this default set of severities, searching for
+// "blo,cri,maj" will find all severe bugs.
+
+var severities = new Array("blo","cri","maj","nor","min","tri","enh");
+
+// Products and Components
+// =======================
+//
+// It is not necessary to list all products and components here.
+// Instead, you can define a "blacklist" for some commonly used
+// words or word fragments that occur in a product or component name
+// but should _not_ trigger product/component search.
+
+var product_exceptions = new Array(
+"row" // [Browser]
+ // ^^^
+,"new" // [MailNews]
+ // ^^^
+);
+
+var component_exceptions = new Array(
+"hang" // [mozilla.org] Bugzilla: Component/Keyword Changes
+ // ^^^^
+);
+