mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Move every Lists.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory client/)
This commit is contained in:
parent
c2139662cd
commit
4a8dcde8ee
6 changed files with 14 additions and 14 deletions
|
|
@ -6,7 +6,7 @@ function getCardsBetween(idA, idB) {
|
|||
}
|
||||
|
||||
function getListsStrictlyBetween(id1, id2) {
|
||||
return Lists.find({
|
||||
return ReactiveCache.getLists({
|
||||
$and: [
|
||||
{ sort: { $gt: ReactiveCache.getList(id1).sort } },
|
||||
{ sort: { $lt: ReactiveCache.getList(id2).sort } },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue