mirror of
https://github.com/wekan/wekan.git
synced 2026-02-02 14:41:47 +01:00
Add new limit operator
This commit is contained in:
parent
2930e9cadb
commit
62b0d371ee
3 changed files with 16 additions and 2 deletions
|
|
@ -755,13 +755,14 @@ function findCards(sessionId, selector, projection, errors = null) {
|
|||
// check(projection, Object);
|
||||
const userId = Meteor.userId();
|
||||
|
||||
console.log('selector:', selector);
|
||||
console.log('projection:', projection);
|
||||
|
||||
let cards;
|
||||
if (!errors || !errors.hasErrors()) {
|
||||
cards = Cards.find(selector, projection);
|
||||
}
|
||||
|
||||
console.log('selector:', selector);
|
||||
console.log('projection:', projection);
|
||||
console.log('count:', cards.count());
|
||||
const update = {
|
||||
$set: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue