Alpha picker only returns items starting with selected letter

This commit is contained in:
Matt 2020-09-09 17:34:08 -04:00
parent 1c2d22309a
commit fba96da954
6 changed files with 11 additions and 11 deletions

View file

@ -198,7 +198,7 @@ import 'emby-itemscontainer';
function updateFilterControls(tabContent) {
const query = getQuery(tabContent);
self.alphaPicker.value(query.NameStartsWithOrGreater);
self.alphaPicker.value(query.NameStartsWith);
}
const self = this;
@ -231,7 +231,7 @@ import 'emby-itemscontainer';
alphaPickerElement.addEventListener('alphavaluechanged', function (e) {
const newValue = e.detail.value;
const query = getQuery(tabContent);
query.NameStartsWithOrGreater = newValue;
query.NameStartsWith = newValue;
query.StartIndex = 0;
reloadItems(tabContent);
});