mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
🐛 Fixed filtering by primary_tag or primary_author in routes.yaml
closes #10482 - the mapping was missing
This commit is contained in:
parent
4e12b73c8a
commit
2ab0c8e222
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@ const _ = require('lodash'),
|
|||
}, {
|
||||
key: 'authors',
|
||||
replacement: 'authors.slug'
|
||||
}, {
|
||||
key: 'primary_tag',
|
||||
replacement: 'primary_tag.slug'
|
||||
}, {
|
||||
key: 'primary_author',
|
||||
replacement: 'primary_author.slug'
|
||||
}];
|
||||
|
||||
class UrlGenerator {
|
||||
|
|
Loading…
Add table
Reference in a new issue