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 and AlexAndBear committed Dec 13, 2023
1 parent 1bb8d9d commit ad86b3f
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 ad86b3f

Please sign in to comment.