mirror of
https://github.com/strapi/strapi.git
synced 2025-11-18 02:58:05 +00:00
Fix delete all
This commit is contained in:
parent
c30991668a
commit
6558b38814
@ -584,7 +584,7 @@ module.exports = {
|
|||||||
};
|
};
|
||||||
} else if (model.attributes[key]) {
|
} else if (model.attributes[key]) {
|
||||||
field = model.attributes[key];
|
field = model.attributes[key];
|
||||||
} else {
|
} else if (typeof key === 'string') {
|
||||||
// Remove the filter keyword at the end
|
// Remove the filter keyword at the end
|
||||||
let splitKey = key.split('_').slice(0, -1);
|
let splitKey = key.split('_').slice(0, -1);
|
||||||
splitKey = splitKey.join('_');
|
splitKey = splitKey.join('_');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user