1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Backport pull request #5377 from jellyfin-web/release-10.9.z

Fix changing filters not resetting multiselected media cards

Original-merge: 798b408bd7

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
ConnorS1110 2024-07-21 01:43:51 -04:00 committed by Bill Thornton
parent be31bf188a
commit cf6eaa6b92
5 changed files with 11 additions and 2 deletions

View file

@ -14,6 +14,7 @@ import ServerConnections from '../components/ServerConnections';
import LibraryMenu from '../scripts/libraryMenu';
import { CollectionType } from '@jellyfin/sdk/lib/generated-client/models/collection-type';
import { ItemSortBy } from '@jellyfin/sdk/lib/generated-client/models/item-sort-by';
import { stopMultiSelect } from 'components/multiSelect/multiSelect';
function getInitialLiveTvQuery(instance, params, startIndex = 0, limit = 300) {
const query = {
@ -1139,6 +1140,9 @@ class ItemsView {
setFilterStatus(hasFilters) {
this.hasFilters = hasFilters;
if (this.hasFilters) {
stopMultiSelect();
}
const filterButtons = this.filterButtons;
if (filterButtons.length) {
@ -1301,4 +1305,3 @@ class ItemsView {
}
export default ItemsView;