From ad86b3fad8a8ffd574446b38a6f4bf688dcb2e29 Mon Sep 17 00:00:00 2001 From: Paul Neubauer Date: Thu, 23 Nov 2023 14:15:07 +0100 Subject: [PATCH] Polishing: Simplify Filetype Filter (#10030) * Polishing: Simplify Filetype Filter * Add PR to changelog * Remove unused attribute --- changelog/unreleased/enhancement-add-file-media-filter-chip | 2 ++ packages/web-app-files/src/components/Search/List.vue | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/changelog/unreleased/enhancement-add-file-media-filter-chip b/changelog/unreleased/enhancement-add-file-media-filter-chip index 2faceea1492..744eb2a391b 100644 --- a/changelog/unreleased/enhancement-add-file-media-filter-chip +++ b/changelog/unreleased/enhancement-add-file-media-filter-chip @@ -4,4 +4,6 @@ We've added a new filter option in the search list to filter by media type. https://github.com/owncloud/web/pull/9912 https://github.com/owncloud/web/pull/9942 +https://github.com/owncloud/web/pull/10030 https://github.com/owncloud/web/issues/9780 +https://github.com/owncloud/web/issues/9978 diff --git a/packages/web-app-files/src/components/Search/List.vue b/packages/web-app-files/src/components/Search/List.vue index 73cdb38e4c5..55e2868f652 100644 --- a/packages/web-app-files/src/components/Search/List.vue +++ b/packages/web-app-files/src/components/Search/List.vue @@ -11,11 +11,9 @@ v-if="availableMediaTypeValues.length" ref="mediaTypeFilter" :allow-multiple="true" - :filter-label="$gettext('Media type')" + :filter-label="$gettext('Type')" :filterable-attributes="['label']" :items="availableMediaTypeValues" - :option-filter-label="$gettext('Filter media type')" - :show-option-filter="true" class="files-search-filter-file-type oc-mr-s" display-name-attribute="label" filter-name="mediaType"