mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Add link to search header for storing search
This commit is contained in:
parent
409b8559d7
commit
7e8475e64d
4 changed files with 13 additions and 4 deletions
|
|
@ -160,9 +160,10 @@ FlowRouter.route('/global-search', {
|
|||
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')));
|
||||
Session.set(
|
||||
'globalQuery',
|
||||
decodeURIComponent(FlowRouter.getQueryParam('q')),
|
||||
);
|
||||
BlazeLayout.render('defaultLayout', {
|
||||
headerBar: 'globalSearchHeaderBar',
|
||||
content: 'globalSearch',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue