Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polishing: Simplify Filetype Filter #10030

Merged
merged 3 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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