0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core
Hannah Wolfe 327c209a74 🐛 Added default sort order for members.browse
refs: https://github.com/TryGhost/Team/issues/1557

- There is currently no default order for the members API
- This is done at the API level purely for the endpoint, not in the model using orderDefaultOptions
- This is because orderDefaultOptions affects findPage and findPage is wrapped by membersAPI.members.list
- That in turn is used in multiple places, e.g. getting member counts for emails and getting members for exports
- There is currently no created_at DESC index on the table, so we don't to impact performance too much
- This ensures it's only affected when paginating
2022-04-26 13:02:27 +01:00
..
client@bedc41d7bf Updated Admin to v4.45.0 2022-04-22 16:00:32 +01:00
frontend Moved cors middleware to own file 2022-04-19 11:19:59 +01:00
server 🐛 Added default sort order for members.browse 2022-04-26 13:02:27 +01:00
shared Updated portal to manage single newsletter with existing UI (#14573) 2022-04-26 12:31:34 +01:00
app.js Fixed express app stacking 2021-12-06 21:28:53 +13:00
boot.js Hooked up api version compatibility service 2022-04-22 16:31:56 +08:00
bridge.js 💡 Pinned frontend API version to canary 2022-02-17 17:55:55 +00:00