Ghost/core/server/models
Fabien 'egg' O'Carroll feaf5d0c91
🐛 Fixed tag url field when explicitly querying fields
refs https://github.com/TryGhost/Ghost/issues/14983

The url field of tags is read dynamically from the url service, rather than
from the database. The lookup requires the id of the tag, which was missing
from the model when asking for explicit fields which didn't include id. By
adding the id as a default column to fetch, we know for sure that we will always
have the necessary data to read the url.
2022-07-15 15:11:24 +01:00
..
base 🐛 Fixed API excerpt field issue (#15005) 2022-07-06 17:57:04 +02:00
relations Removed outdated usecase from documentation 2022-05-26 10:59:29 +08:00
action.js Fixed dependency on the order of models 2021-10-21 16:57:36 +01:00
api-key.js Update dependency @tryghost/security to v0.3.0 (#14718) 2022-05-06 17:53:10 +01:00
author.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
benefit.js Added Benefit model 2021-06-29 16:53:15 +01:00
comment-like.js Added comments API like and unlike actions 2022-07-12 10:24:02 +02:00
comment.js Added support for blockquote in comments 2022-07-12 10:24:02 +02:00
custom-theme-setting.js Removed errant console.log 2021-10-14 20:38:02 +01:00
email-batch.js Fixed creation of EmailBatch and EmailRecipient collections 2020-10-14 15:11:45 +01:00
email-recipient.js Removed unnecessary bookshelf-relations config in EmailRecipient model 2021-01-05 15:28:30 +00:00
email.js Filtered member email recipients based on the newsletter subscriptions (#14489) 2022-04-26 12:31:34 +01:00
index.js Refactored model init to be implicit 2021-10-21 17:01:26 +01:00
integration.js Added frontend key to ghost_head for portal (#14782) 2022-05-11 17:34:31 +01:00
invite.js Replaced i18n.t w/ tpl in core/server/models (#13464) 2021-10-06 11:43:54 +01:00
label.js Replaced white/black list terminology 2022-04-19 11:19:59 +01:00
member-analytic-event.js Added temporary database table for analytic events (#13312) 2021-09-17 11:15:21 +02:00
member-cancel-event.js Added the MemberCancelEvent model 2022-03-11 21:50:06 +01:00
member-email-change-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-login-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-paid-subscription-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-payment-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-product-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-status-event.js Added linting for use of @tryghost/errors 2021-12-01 11:22:21 +00:00
member-stripe-customer.js Added error handling for failed member imports 2020-08-26 17:11:35 +12:00
member-subscribe-event.js Added newsletter relation to subscribe events (#14585) 2022-04-27 16:44:27 +02:00
member.js Added comment related fields to members table 2022-07-08 15:46:11 +02:00
mobiledoc-revision.js Added mobiledoc revisions functionality 2018-10-09 15:31:09 +02:00
newsletter.js Renamed newsletter_id and email_recipient_filter options (#14798) 2022-05-16 10:18:04 +02:00
offer-redemption.js Added OfferRedemption model 2021-10-15 16:56:04 +02:00
offer.js Added model for offers table 2021-10-04 12:03:36 +05:30
permission.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
post.js Added support for publishing email only posts by setting status to sent (#14950) 2022-06-01 14:53:55 +02:00
posts-meta.js Added email_only column to posts_meta table 2021-08-05 19:44:35 +12:00
product.js Switched products.visible for products.visibility (#14264) 2022-03-04 11:07:38 +00:00
role.js Replaced white/black list terminology 2022-04-19 11:19:59 +01:00
session.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
settings.js Switch settings.edit to use an allow list 2022-05-16 15:07:31 +01:00
single-use-token.js Updated SingleUseToken grace period to 10 minutes (#13926) 2022-01-03 17:55:53 +02:00
snippet.js Fixed no-restricted-require warning for core/shared/url-utils.js 2021-05-25 21:13:57 +01:00
stripe-customer-subscription.js Added mrr column to subscriptions (#14448) 2022-04-12 11:02:18 +02:00
stripe-price.js Added models for stripe prices and products 2021-04-12 21:53:59 +05:30
stripe-product.js Added Product, StripeProduct & StripePrice relations (#12877) 2021-04-14 19:20:39 +01:00
tag-public.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
tag.js 🐛 Fixed tag url field when explicitly querying fields 2022-07-15 15:11:24 +01:00
user.js Added users.comment_notifications field 2022-07-08 15:46:11 +02:00
webhook.js Changed webhooks to store safe version 2022-05-06 12:43:14 +01:00