mirror of
https://github.com/strapi/strapi.git
synced 2025-08-15 20:27:23 +00:00
Merge branch 'master' of github.com:strapi/strapi into 3.0.0-alpha.22
This commit is contained in:
commit
5f2d9c9543
@ -6,7 +6,7 @@ module.exports = {
|
||||
_.forEach(params.where, (where, key) => {
|
||||
if (_.isArray(where.value) && where.symbol !== 'IN') {
|
||||
for (const value in where.value) {
|
||||
qb[value ? 'where' : 'orWhere'](key, where.symbol, where.value[value]);
|
||||
qb[parseInt(value) ? 'orWhere' : 'where'](key, where.symbol, where.value[value]);
|
||||
}
|
||||
} else {
|
||||
qb.where(key, where.symbol, where.value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user