Hi,
Currently one can't add a filter for the ticket description.
Any reason this was left out or can I add support for it?
This would be also useful for #1069.
-- Christian
Index: trac/ticket/query.py
===================================================================
--- trac/ticket/query.py (revision 3013)
+++ trac/ticket/query.py (working copy)
@@ -91,6 +91,8 @@
if col in cols:
cols.remove(col)
cols.append(col)
+ if 'description' in cols:
+ cols.remove('description')
# Semi-intelligently remove columns that are restricted to a single
# value by a query constraint.
@@ -476,7 +478,7 @@
for field in query.fields:
if field['type'] == 'textarea':
- continue
+ field['type'] = 'text'
hdf = {}
hdf.update(field)
del hdf['name']
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev