diff roundup/templates/classic/instance_config.py @ 702:b6b3a7d4250d search_indexing-0-4-2-branch

Allow customization of the search filters... ...that should be displayed on the search page.
author Roche Compaan <rochecompaan@users.sourceforge.net>
date Thu, 02 May 2002 11:49:19 +0000
parents 250d0d517f64
children 54333751e98d
line wrap: on
line diff
--- a/roundup/templates/classic/instance_config.py	Sat Apr 20 13:23:34 2002 +0000
+++ b/roundup/templates/classic/instance_config.py	Thu May 02 11:49:19 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: instance_config.py,v 1.13.2.1 2002-04-20 13:23:33 rochecompaan Exp $
+# $Id: instance_config.py,v 1.13.2.2 2002-05-02 11:49:19 rochecompaan Exp $
 
 MAIL_DOMAIN=MAILHOST=HTTP_HOST=None
 HTTP_PORT=0
@@ -102,6 +102,9 @@
 # list the classes that users can search
 HEADER_SEARCH_LINKS = ['issue']
 
+# list search filters per class
+SEARCH_FILTERS = ['ISSUE_FILTER', 'SUPPORT_FILTER']
+
 # Now the DEFAULT display specification. TODO: describe format
 DEFAULT_INDEX = {
   'LABEL': 'All Issues',
@@ -144,9 +147,24 @@
   },
 }
 
+ISSUE_FILTER = {
+  'CLASS': 'issue'
+  'FILTER': ['status', 'priority', 'assignedto', 'creator']
+}
+
+SUPPORT_FILTER = {
+  'CLASS': 'issue'
+  'FILTER': ['status', 'priority', 'assignedto', 'creator']
+}
+
 
 #
 # $Log: not supported by cvs2svn $
+# Revision 1.13.2.1  2002/04/20 13:23:33  rochecompaan
+# We now have a separate search page for nodes.  Search links for
+# different classes can be customized in instance_config similar to
+# index links.
+#
 # Revision 1.13  2002/03/14 23:59:24  richard
 #  . #517734 ] web header customisation is obscure
 #

Roundup Issue Tracker: http://roundup-tracker.org/