mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
7761873db7
closes #2896 - move default options / custom code into model functions - move most of the filtering logic into base/utils.filtering (to be relocated) - move the remainder of findPage back into base/index.js and remove from posts/users&tags - move pagination-specific logic to a separate 'plugin' file - pagination provides new fetchPage function, similar to fetchAll but handling pagination - findPage model method uses fetchPage - plugin is fully unit-tested and documented |
||
---|---|---|
.. | ||
api | ||
apps | ||
config | ||
controllers | ||
data | ||
email-templates | ||
errors | ||
events | ||
helpers | ||
middleware | ||
models | ||
permissions | ||
routes | ||
storage | ||
utils | ||
views | ||
filters.js | ||
ghost-server.js | ||
index.js | ||
mail.js | ||
require-tree.js | ||
update-check.js |