mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
Excluded 'tiers' from fields that affect url generation for posts
refs https://github.com/TryGhost/Toolbox/issues/503 - Tier's are sometimes dynamically generated and are present in the "_changed" properties, causing full URL regeneration. They have no effect on post's URL, so should not trigger URL regeneration.
This commit is contained in:
parent
fbf9442e39
commit
39ef1d20db
@ -31,7 +31,8 @@ module.exports = [
|
|||||||
'twitter_title',
|
'twitter_title',
|
||||||
'twitter_description',
|
'twitter_description',
|
||||||
'custom_template',
|
'custom_template',
|
||||||
'locale'
|
'locale',
|
||||||
|
'tiers'
|
||||||
],
|
],
|
||||||
withRelated: ['tags', 'authors'],
|
withRelated: ['tags', 'authors'],
|
||||||
withRelatedPrimary: {
|
withRelatedPrimary: {
|
||||||
@ -79,7 +80,8 @@ module.exports = [
|
|||||||
'tags',
|
'tags',
|
||||||
'authors',
|
'authors',
|
||||||
'primary_tag',
|
'primary_tag',
|
||||||
'primary_author'
|
'primary_author',
|
||||||
|
'tiers'
|
||||||
],
|
],
|
||||||
filter: 'status:published+type:page'
|
filter: 'status:published+type:page'
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user