+1, seems like a good idea to me.
I know this is a bit out of scope, but it would also be nice to be able
to match against ticket comment bodies and usernames. I sometimes
add a comment to a ticket and would like to get a report on these later,
to see what became of them.
Nice to have I guess, but not all that important.
On Wed, Mar 15, 2006 at 03:39:34PM +0100, Christian Boos wrote:
> 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
>
--
Evolution: Taking care of those too stupid to take care of themselves.
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev