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

Don't persist letter filter when querying

This commit is contained in:
viown 2024-10-28 14:35:08 +03:00
parent d4d84d0a18
commit ae5afd9ea7

View file

@ -536,7 +536,10 @@ export class UserSettings {
* @param {Object} query - Query.
*/
saveQuerySettings(key, query) {
return this.set(key, JSON.stringify(query));
const newQuery = { ...query };
delete newQuery.NameStartsWith;
delete newQuery.NameLessThan;
return this.set(key, JSON.stringify(newQuery));
}
/**