mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Global Search Card Popup has now every data if the search was opened from another board
- the global search only returns the card details data needed to display the search results, but for opening the popup card details a lot more information is needed. It already worked if the data was already in the minimongo, but if not, nearly nothing was displayed
This commit is contained in:
parent
72ddd66495
commit
4733afe4eb
6 changed files with 58 additions and 9 deletions
|
|
@ -13,6 +13,7 @@ FlowRouter.route('/', {
|
|||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Filter.reset();
|
||||
Session.set('sortBy', '');
|
||||
|
|
@ -36,6 +37,7 @@ FlowRouter.route('/public', {
|
|||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Filter.reset();
|
||||
Session.set('sortBy', '');
|
||||
|
|
@ -59,6 +61,7 @@ FlowRouter.route('/b/:id/:slug', {
|
|||
Session.set('currentBoard', currentBoard);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
// If we close a card, we'll execute again this route action but we don't
|
||||
// want to excape every current actions (filters, etc.)
|
||||
|
|
@ -88,6 +91,7 @@ FlowRouter.route('/b/:boardId/:slug/:cardId', {
|
|||
Session.set('currentBoard', params.boardId);
|
||||
Session.set('currentCard', params.cardId);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Utils.manageCustomUI();
|
||||
Utils.manageMatomo();
|
||||
|
|
@ -217,6 +221,7 @@ FlowRouter.route('/import/:source', {
|
|||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
Session.set('importSource', params.source);
|
||||
|
||||
Filter.reset();
|
||||
|
|
@ -238,6 +243,7 @@ FlowRouter.route('/setting', {
|
|||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Filter.reset();
|
||||
Session.set('sortBy', '');
|
||||
|
|
@ -262,6 +268,7 @@ FlowRouter.route('/information', {
|
|||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Filter.reset();
|
||||
Session.set('sortBy', '');
|
||||
|
|
@ -285,6 +292,7 @@ FlowRouter.route('/people', {
|
|||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Filter.reset();
|
||||
Session.set('sortBy', '');
|
||||
|
|
@ -308,6 +316,7 @@ FlowRouter.route('/admin-reports', {
|
|||
Session.set('currentList', null);
|
||||
Session.set('currentCard', null);
|
||||
Session.set('popupCard', null);
|
||||
Session.set('popupCardBoardId', null);
|
||||
|
||||
Filter.reset();
|
||||
Session.set('sortBy', '');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue