mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix number option in alphapicker
This commit is contained in:
parent
f942465afc
commit
60437c4350
1 changed files with 8 additions and 1 deletions
|
@ -165,7 +165,14 @@ import { appRouter } from '../components/appRouter';
|
|||
instance.setFilterStatus(hasFilters);
|
||||
|
||||
if (instance.alphaPicker) {
|
||||
query.NameStartsWith = instance.alphaPicker.value();
|
||||
const newValue = instance.alphaPicker.value();
|
||||
if (newValue === '#') {
|
||||
query.NameLessThan = 'A';
|
||||
delete query.NameStartsWith;
|
||||
} else {
|
||||
query.NameStartsWith = newValue;
|
||||
delete query.NameLessThan;
|
||||
}
|
||||
}
|
||||
|
||||
return query;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue