0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/api/canary
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
..
utils 🐛 Added default sort order for members.browse 2022-04-26 13:02:27 +01:00
actions.js
authentication.js Handled default newsletter fixtures setup (#14459) 2022-04-12 19:44:21 +05:30
authors-public.js Replaced i18n.t w/ tpl helper (#13403) 2021-10-04 09:55:30 +01:00
config.js
custom-theme-settings.js Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
db.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
email-post.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
email-preview.js Removed unnecessary email_preview.read serializer 2022-03-29 13:44:51 +01:00
emails.js Added missing e2e emails API browse & retry tests 2022-03-28 17:32:58 +01:00
files.js Added Files API behind an alpha flag 2021-11-08 11:40:17 +04:00
identities.js Removed extraneous permission flag in identities 2022-03-15 14:58:29 +00:00
images.js Made storage calls related to images use "images" feature 2021-10-21 20:22:45 +13:00
index.js Created new stats service and stats API to get member count history (#14391) 2022-03-31 16:01:11 +02:00
integrations.js Replaced i18n.t w/ tpl helper in email and integrations (#13424) 2021-10-04 10:02:27 +01:00
invites.js Replaced i18n.t w/ tpl helper in invites.js (#13433) 2021-10-06 09:49:20 +01:00
labels.js Replaced i18n.t w/ tpl helper in invites.js (#13433) 2021-10-06 09:49:20 +01:00
mail.js Replaced i18n.t w/ tpl helper in mail.js 2021-10-05 09:43:47 +01:00
media.js Reworked media API thumbnail endpoint 2021-11-29 13:12:47 +04:00
member-signin-urls.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
members-stripe-connect.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
members.js Added newsletters to subscribe events (#14579) 2022-04-26 12:31:34 +01:00
newsletters.js Allow opt-in for existing members when creating a newsletter (#14567) 2022-04-26 12:31:34 +01:00
notifications.js
oembed.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
offers.js Added 404 handling for edit Offer 2021-10-22 16:16:39 +02:00
pages-public.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
pages.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
posts-public.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30
posts.js Added the newsletter_id query string to the post edit API route (#14449) 2022-04-13 15:27:43 +02:00
preview.js Replaced i18n.t w/ tpl helper in preview.js (#13494) 2021-10-08 15:32:51 +01:00
products-public.js Included benefits with theme product data (#14051) 2022-01-24 13:55:25 +02:00
products.js Updated to always invalidate cache on tier edit (#14267) 2022-03-04 15:47:30 +00:00
redirects.js Used DynamicRedirectManager for Custom Redirects 2021-11-03 07:41:55 +13:00
roles.js
schedules.js
session.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
settings-public.js
settings.js 🐛 Fixed Offer Redemptions being over counted (#13988) 2022-01-18 17:56:47 +02:00
site.js
slack.js
slugs.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
snippets.js
stats.js Replaced stats service with @tryghost/stats-service (#14527) 2022-04-21 14:57:07 +01:00
tags-public.js Replaced i18n.t w/ tpl helper in core/server/api/canary/* (#13521) 2021-10-11 14:35:43 +01:00
tags.js Replaced i18n.t w/ tpl in tags.js (#13428) 2021-10-05 10:00:00 +01:00
themes.js
tiers-public.js Added /tiers endpoint to Content API 2022-03-03 15:15:43 +02:00
tiers.js Support tier visibility editing Allowed Tiers Admin API to set visibility 2022-03-07 14:46:42 +00:00
users.js Replaced i18n.t w/ tpl helper in core/server/api/canary/* (#13521) 2021-10-11 14:35:43 +01:00
webhooks.js Replaced i18n with tpl in webhooks.js 2021-10-07 09:16:20 +01:00