0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services
kirrg001 1a79aac673 Fixed collection ownership if a published post status changes to featured
refs #9601

- implementation of resource listener updated
- if you define two collections: `featured:true` (1) and `page:false` (2) you can run into the following bug:
  - you create a published post (owned by (2))
  - you change the status to featured
  - still owned by (2), because the filter still matches (it's still not a static page)
- this adaption fixes the behaviour
- less smart logic, but less error prone
2018-06-17 10:41:05 +02:00
..
apps Fixed typo in: core/server/services/apps/index.js (#9673) 2018-06-11 23:19:07 +02:00
auth Replace knex.transaction by models.Base.transaction 2018-05-03 11:44:32 +02:00
mail Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
permissions Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
routing 🐛 Fixed {{#is "index"}} 2018-06-14 11:53:13 +02:00
rss Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
settings Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
themes 🐛 Fixed gscan errors not caught for corrupted zips 2018-05-16 10:20:30 +08:00
url Fixed collection ownership if a published post status changes to featured 2018-06-17 10:41:05 +02:00
labs.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
slack.js 🐛 Fixed unable to publish a post after slack hook import 2018-06-11 11:08:08 +02:00
webhooks.js Import lib/common only 2017-12-12 10:28:13 +01:00
xmlrpc.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00