mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 02:16:03 +00:00
I'm a newby
This commit is contained in:
parent
17140fb4b0
commit
886e39d196
@ -36,7 +36,7 @@ module.exports = {
|
||||
|
||||
if (_.has(filters, 'start')) result.skip(filters.start);
|
||||
if (_.has(filters, 'limit')) result.limit(filters.limit);
|
||||
if (!_.isEmpty(filters, 'sort')) result.sort(filters.sort);
|
||||
if (!_.isEmpty(filters.sort)) result.sort(filters.sort);
|
||||
|
||||
return result;
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user