Permalink
Browse files

Fixes bug 864744 - Allowed forcing the implementation of the search m…

…iddleware service.
  • Loading branch information...
1 parent d7ad4e4 commit 6e01b8009bf428e3dba17816bf74ff48fa9f65fe @adngdb adngdb committed Apr 23, 2013
Showing with 4 additions and 2 deletions.
  1. +2 −1 crashstats/crashstats/models.py
  2. +2 −1 crashstats/crashstats/views.py
@@ -612,7 +612,8 @@ class Search(SocorroMiddleware):
'plugin_search_mode',
'plugin_terms',
'result_number',
- 'result_offset'
+ 'result_offset',
+ '_force_api_impl'
)
aliases = {
@@ -1349,7 +1349,8 @@ def query(request):
plugin_search_mode=params['plugin_query_type'],
plugin_terms=params['plugin_query'],
result_number=results_per_page,
- result_offset=data['results_offset']
+ result_offset=data['results_offset'],
+ _force_api_impl=request.GET.get('_force_api_impl')
)
search_results['total_pages'] = int(math.ceil(

0 comments on commit 6e01b80

Please sign in to comment.