diff --git a/resources/js/components/catalog-new/ItemsFilterController.vue b/resources/js/components/catalog-new/ItemsFilterController.vue index 503aea418..56985b2f1 100644 --- a/resources/js/components/catalog-new/ItemsFilterController.vue +++ b/resources/js/components/catalog-new/ItemsFilterController.vue @@ -45,10 +45,14 @@ function stringifyUrlQuery(params) { topic, medium, color, + credit, + related_work, + contributor, is_free, has_image, has_iip, has_text, + is_for_reproduction, sort, q, } = filter || {} @@ -66,10 +70,14 @@ function stringifyUrlQuery(params) { gallery: gallery, medium: medium, color: color, + credit: credit, + related_work: related_work, + contributor: contributor, is_free: is_free, has_image: has_image, has_iip: has_iip, has_text: has_text, + is_for_reproduction: is_for_reproduction, }, sort: { [sort]: SORT_DIRECTIONS[sort], @@ -107,6 +115,9 @@ const EMPTY_QUERY = { technique: [], medium: [], tag: [], + contributor: [], + credit: [], + related_work: [], color: null, yearRange: null, } @@ -167,6 +178,9 @@ export default { 'object_type', 'tag', 'gallery', + 'credit', + 'related_work', + 'contributor', 'color', 'yearRange', ].includes(filterName)