Menu

Commit [r7350]  Maximize  Restore  History

Attachment metadata can be searched.

In a way similar to what is done for the `ITimelineEventProvider`, the Attachment module provides a `get_search_results(self, req, resource_realm, terms)` helper that can be used by the various modules providing attachment support. The search for attachment therefore becomes dependent on the selection of the search source for the parent resource.

Patch by Remy Blank, closes #2561.

cboos 2008-07-18

changed /branches/0.11-stable/trac/attachment.py
changed /branches/0.11-stable/trac/ticket/web_ui.py
changed /branches/0.11-stable/trac/wiki/web_ui.py
/branches/0.11-stable/trac/attachment.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/ticket/web_ui.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/wiki/web_ui.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB