HUE-3003 [search] Allow linking to a collection with a predefine query string

Review Request #6056 - Created Oct. 5, 2015 and submitted

Enrico Berti
hue
master
HUE-3003
hue
erickt, jennykim, johan, krish, romain

commit e2b598297b98189e8ff19dc04149ebce18bb7b58
Author: Enrico Berti <hello@enricoberti.com>
Date: Mon Oct 5 14:51:51 2015 +0200

[HTML_REMOVED] HUE-3003 [search] Allow linking to a collection with a predefine query string
[HTML_REMOVED]
[HTML_REMOVED] Added pushState for first query term and query definition ID
[HTML_REMOVED] Removed LZString file and dependency

:100644 000000 571ebf3... 0000000... D apps/search/src/search/static/search/js/lzstring.min.js
:100644 100644 0677122... 99bcee8... M apps/search/src/search/static/search/js/search.ko.js
:100644 100644 2f3fecc... baee525... M apps/search/src/search/templates/search.mako
:100644 100644 63d8ec3... 3fc4c63... M apps/search/src/search/views.py
:100644 100644 f92b625... 89cb626... M desktop/core/src/desktop/static/desktop/js/hue.utils.js

Manual on Chrome, FF

When you search, it will add a "&q=SEARCH" to the URL. Same with a query definition "&qd=ID"

  • 0
  • 0
  • 1
  • 1
  • 2
Description From Last Updated
  1. 
      
  2. apps/search/src/search/views.py (Diff revision 1)
     
     

    To avoid the duplication:

    query['qs'][0]['q'] = .. ?

  3. 
      
Review request changed

Status: Closed (submitted)

Loading...