mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
dfd350bd69
no issue - make use of filter instead of status=all or data.page - nql was designed to filter data on database layer - do not break v0.1 - we just got rid of the "status" query param, you should use the filter instead - get rid of the ugly condition to remove page field if "fields" param was used - allow filtering on model layer for "findOne" - do not allow filtering for "findOne" on API layer for now - the API controller defines what is allowed - the model layer can allow more by default - we can re-use the powerful filter logic without adding hacks |
||
---|---|---|
.. | ||
client@b9e8c913ac | ||
server | ||
test | ||
index.js |