0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -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
Queue.js 🐛 Fixed urls being /404/ after starting the Ghost server 2018-06-07 09:27:24 +02:00
Resource.js
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
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