mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05: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
1 changed files with 4 additions and 2 deletions
|
@ -31,7 +31,8 @@ module.exports = [
|
|||
'twitter_title',
|
||||
'twitter_description',
|
||||
'custom_template',
|
||||
'locale'
|
||||
'locale',
|
||||
'tiers'
|
||||
],
|
||||
withRelated: ['tags', 'authors'],
|
||||
withRelatedPrimary: {
|
||||
|
@ -79,7 +80,8 @@ module.exports = [
|
|||
'tags',
|
||||
'authors',
|
||||
'primary_tag',
|
||||
'primary_author'
|
||||
'primary_author',
|
||||
'tiers'
|
||||
],
|
||||
filter: 'status:published+type:page'
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue