Actions
Feature #3021
closedExtend search with plugins
Feature #3021:
Extend search with plugins
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Resolution:
Duplicate
Description
For now the search scope in search controller can't be extended by plugins.
See ln51 in search_controller.rb
So if there is a plugin_hook which let plugin add object_types to above, the plugin can easily integrated their search function into redmine's search page.
Updated by Markus Knittig over 17 years ago
That's not a job for a hook, but yes, this should be extendable...
Updated by Jean-Philippe Lang over 17 years ago
- Subject changed from Need a plugin_hook which can let plugin to extend redmine's search scope to Extend search with plugins
Updated by Eric Thomas over 16 years ago
Any update to this?
Updated by Gonzalo Fernández-Victorio about 16 years ago
As of version 1.0.0.stable I have managed to incorporate search to a plugin with the following changes:
- Provide search scope in the controller. For example for EzPlugin I had to write
- Provide ability to search in the model (In EzPlugin it's already in the plugin)
- Register the plugin in Redmine search (libs/redmine.rb)
Updated by Eric Davis about 16 years ago
- Assignee deleted (
Eric Davis)
Updated by Mischa The Evil almost 16 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Closed as being a duplicate of the (implemented) issue #3936.
Actions