Skip to content

Commit

Permalink
Polishing: Simplify Filetype Filter (#10030)
Browse files Browse the repository at this point in the history
* Polishing: Simplify Filetype Filter

* Add PR to changelog

* Remove unused attribute
  • Loading branch information
lookacat authored Nov 23, 2023
1 parent 7e66196 commit eae0a0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions changelog/unreleased/enhancement-add-file-media-filter-chip
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 1 addition & 3 deletions packages/web-app-files/src/components/Search/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit eae0a0d

Please sign in to comment.