[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_search.py:1.12

seb seb@jamkit.com
Fri, 11 Jan 2002 12:15:16 -0500


Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv29572

Modified Files:
	collector_search.py 
Log Message:
corrected bug whereby 'importances' criterion was being omitted from searches

=== CMF/CMFCollector/skins/collector/collector_search.py 1.11 => 1.12 ===
 supplement_query("resolution")
 supplement_query("version_info")
+supplement_query("importances", "importance")
 
 sr = reqget("security_related", [])
 if sr:
@@ -41,8 +42,8 @@
     #     and just do token processing according to their names.
     if i in ['Pending', 'Accepted']:
         rs.append("%s_confidential" % i)
-if rs:
-    query['status'] = rs
+    if rs:
+        query['status'] = rs
 
 got = context.get_internal_catalog()(REQUEST=query)
 return got