mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 05:27:14 -04:00
Merge pull request #3634 from jrsupplee/issue-3587
Fix search on labels server error
This commit is contained in:
commit
f293700db3
1 changed files with 3 additions and 0 deletions
|
@ -501,6 +501,9 @@ Meteor.publish('globalSearch', function(sessionId, queryParams) {
|
|||
boards.forEach(board => {
|
||||
board.labels
|
||||
.filter(boardLabel => {
|
||||
if (!boardLabel.name) {
|
||||
return false;
|
||||
}
|
||||
return boardLabel.name.match(reLabel);
|
||||
})
|
||||
.forEach(boardLabel => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue