mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Move every Team.findOne(idOrFirstObjectSelector, options) to the ReactiveCache
This commit is contained in:
parent
cd3a27941c
commit
6c3170360b
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ function buildSelector(queryParams) {
|
|||
if (queryParams.hasOperator(OPERATOR_TEAM)) {
|
||||
const teams = [];
|
||||
queryParams.getPredicates(OPERATOR_TEAM).forEach(name => {
|
||||
const team = Team.findOne({
|
||||
const team = ReactiveCache.getTeam({
|
||||
$or: [
|
||||
{ teamDisplayName: name },
|
||||
{ teamShortName: name }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue