mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix search returning data for all users
This commit is contained in:
parent
5dbbaae6fd
commit
39ac19db20
2 changed files with 8 additions and 6 deletions
|
|
@ -1226,6 +1226,8 @@ Boards.userSearch = (
|
|||
};
|
||||
|
||||
Boards.userBoards = (userId, includeArchived = false, selector = {}) => {
|
||||
check(userId, String);
|
||||
|
||||
if (!includeArchived) {
|
||||
selector = {
|
||||
archived: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue