mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03: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 |
||
---|---|---|
.. | ||
middleware | ||
server_helpers | ||
apps_spec.js | ||
config_spec.js | ||
error_handling_spec.js | ||
filters_spec.js | ||
frontend_spec.js | ||
importer_spec.js | ||
mail_spec.js | ||
middleware_spec.js | ||
migration_spec.js | ||
models_pagination_spec.js | ||
permissions_spec.js | ||
rss_spec.js | ||
server_helpers_index_spec.js | ||
server_helpers_template_spec.js | ||
server_spec.js | ||
server_utils_spec.js | ||
showdown_client_integrated_spec.js | ||
sitemap_spec.js | ||
storage_local-file-store_spec.js | ||
xmlrpc_spec.js |