Fixing upper bounds on contact search (fixes #545)

This commit is contained in:
Karel Bilek 2015-12-31 23:05:41 +01:00 committed by lilia
parent a229075016
commit 557d33bf88
3 changed files with 12 additions and 7 deletions

View file

@ -408,7 +408,8 @@
index: {
name: 'search', // 'search' index on tokens array
lower: query,
upper: upper
upper: upper,
excludeUpper: true
}
}).always(resolve);
}.bind(this));