Ticket #1547 (closed enhancement: fixed)
Add search methods (before and after) to the IPackageController interface
Reported by: | amercader | Owned by: | amercader |
---|---|---|---|
Priority: | major | Milestone: | ckan-sprint-2012-01-23 |
Component: | ckan | Keywords: | search |
Cc: | Repository: | ckan | |
Theme: | none |
Description (last modified by amercader) (diff)
Time estimate: 1d
Add a two search method to the IPackageController interface so extensions can:
- Modify the query being sent to Solr
def before_search(search_params): return search_params
- Modify the results returned (after_search)
def after_search(search_results, search_params): return search_results
Please see this pad for implementation details:
Change History
comment:4 Changed 2 years ago by amercader
- Summary changed from Add a search method to the IPackageController interface to Add search methods (before and after) to the IPackageController interface
- Description modified (diff)
- Milestone changed from ckan-sprint-2011-12-19 to current-ckan-sprint-2012-01-23
Note: See
TracTickets for help on using
tickets.