Global Search improvements

* support for searching from the URL
* add support for searching by assignee and member
This commit is contained in:
John R. Supplee 2021-01-17 16:01:42 +02:00
parent 8059856c39
commit d74dc92681
7 changed files with 299 additions and 162 deletions

View file

@ -158,7 +158,11 @@ FlowRouter.route('/global-search', {
Utils.manageCustomUI();
Utils.manageMatomo();
DocHead.setTitle(TAPi18n.__('globalSearch-title'));
// eslint-disable-next-line no-console
console.log('URL Params:', FlowRouter.getQueryParam('q'));
Session.set('globalQuery', decodeURI(FlowRouter.getQueryParam('q')));
BlazeLayout.render('defaultLayout', {
headerBar: 'globalSearchHeaderBar',
content: 'globalSearch',