Surgo / redmine_reposearch

Full-text search of a repository plugin.
15 stars 7 forks source link

integrate into redmine default search views #21

Open cforce opened 11 years ago

cforce commented 11 years ago

The redmine_xapian plugin creates index on files and folders and integrated sarch in redmine default search mask and search resuts view. You can use this code as template for integrating repo_search the same way into the default redmine search masks.

View: https://github.com/picman/redmine_xapian/blob/master/app/views/search/index.html.erb

Patch/Acts https://github.com/picman/redmine_xapian/blob/master/lib/search_controller_patch.rb https://github.com/picman/redmine_xapian/blob/master/lib/acts_as_searchable.rb

Controller: https://github.com/picman/redmine_xapian/blob/master/app/controllers/search_controller.rb