Patch #23153
Plugin hooks for custom search results
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Plugin API | |||
Target version: | 3.3.1 |
Description
I'm a developer https://github.com/okkez/redmine_full_text_search
I want to add funcionality to sort by `upated_at` or `score`.
Please apply these patches.
Thank you.
Associated revisions
Add params to Redmine::Search::Fetcher#initialize optional parameter (#23153).
Patch by okkez.
Add hook view_search_index_options_content_bottom (#23153).
Patch by okkez.
History
#1
Updated by Go MAEDA about 6 years ago
Could you describe use cases of the changes?
#2
Updated by okkez _ about 6 years ago
In Redmine 3.3.0, we cannot customize search result (app/views/search/index.html.erb) at all.
I want to add new query parameter `orderby` or `sortby`.
And `Redmine::Search::Fetcher` cannot handle extra query parameters sush as `orderby` or `sortby`.
I want to use extra query parameters in my plugin that customizes `Redmine::Search::Fetcher`.
#3
Updated by Go MAEDA about 6 years ago
- Target version set to 3.4.0
Thanks for the explanation. Setting target version to 3.4.0.
#4
Updated by Jean-Philippe Lang about 6 years ago
- Subject changed from Customize search result to Plugin hooks for custom search results
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version changed from 3.4.0 to 3.3.1
#5
Updated by Jean-Philippe Lang about 6 years ago
- Status changed from Resolved to Closed