0
Fork 0
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:
kirrg001 2019-02-18 19:13:22 +01:00
parent 4e12b73c8a
commit 2ab0c8e222

View file

@ -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 {