mirror of
https://github.com/wekan/wekan.git
synced 2025-12-27 12:48:49 +01:00
Merge pull request #3708 from jrsupplee/issue-3698
Bug fix for issue #3698
This commit is contained in:
commit
e709094533
5 changed files with 104 additions and 176 deletions
|
|
@ -65,7 +65,6 @@ export class CardSearchPagedComponent extends BlazeComponent {
|
|||
// console.log('getting results');
|
||||
const sessionData = this.getSessionData();
|
||||
// eslint-disable-next-line no-console
|
||||
// console.log('selector:', sessionData.getSelector());
|
||||
console.log('session data:', sessionData);
|
||||
const cards = [];
|
||||
sessionData.cards.forEach(cardId => {
|
||||
|
|
@ -102,10 +101,8 @@ export class CardSearchPagedComponent extends BlazeComponent {
|
|||
}
|
||||
}
|
||||
|
||||
runGlobalSearch(queryParams) {
|
||||
this.searching.set(true);
|
||||
this.stopSubscription();
|
||||
this.subscriptionHandle = Meteor.subscribe(
|
||||
getSubscription(queryParams) {
|
||||
return Meteor.subscribe(
|
||||
'globalSearch',
|
||||
this.sessionId,
|
||||
queryParams.params,
|
||||
|
|
@ -114,6 +111,12 @@ export class CardSearchPagedComponent extends BlazeComponent {
|
|||
);
|
||||
}
|
||||
|
||||
runGlobalSearch(queryParams) {
|
||||
this.searching.set(true);
|
||||
this.stopSubscription();
|
||||
this.subscriptionHandle = this.getSubscription(queryParams);
|
||||
}
|
||||
|
||||
queryErrorMessages() {
|
||||
const messages = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue