0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/models
Hannah Wolfe 4cd2865021 Refactor pagination count query
refs #2896

- remove duplicate query-building code
- use the same approach for creating the count query from the main query
- restructure the code to match more closely across the 3 findPage functions (prep for further refactoring)
2015-06-15 19:24:47 +01:00
..
base Move pagination formatting into a util 2015-06-15 16:46:42 +01:00
accesstoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-field.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-setting.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
client.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00
index.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
permission.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
post.js Refactor pagination count query 2015-06-15 19:24:47 +01:00
refreshtoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
role.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
settings.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
tag.js Refactor pagination count query 2015-06-15 19:24:47 +01:00
user.js Refactor pagination count query 2015-06-15 19:24:47 +01:00