0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/services/url
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
..
index.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
Queue.js 🐛 Fixed urls being /404/ after starting the Ghost server 2018-06-07 09:27:24 +02:00
Resource.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
Resources.js 🐛 Fixed urls being /404/ after starting the Ghost server 2018-06-07 09:27:24 +02:00
UrlGenerator.js Fixed collection ownership if a published post status changes to featured 2018-06-17 10:41:05 +02:00
Urls.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
UrlService.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
utils.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00