mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update smart matches
This commit is contained in:
parent
3d4ec9caf1
commit
f220653d1b
4 changed files with 6 additions and 4 deletions
|
@ -33,8 +33,8 @@
|
|||
if (infos.length > 0) {
|
||||
infos = infos.sort(function (a, b) {
|
||||
|
||||
a = a.OrganizerType + " " + a.Name;
|
||||
b = b.OrganizerType + " " + b.Name;
|
||||
a = a.OrganizerType + " " + (a.DisplayName || a.ItemName);
|
||||
b = b.OrganizerType + " " + (b.DisplayName || b.ItemName);
|
||||
|
||||
if (a == b) {
|
||||
return 0;
|
||||
|
@ -64,7 +64,7 @@
|
|||
|
||||
html += '<paper-item-body two-line>';
|
||||
|
||||
html += "<div>" + info.DisplayName + "</div>";
|
||||
html += "<div>" + (info.DisplayName || info.ItemName) + "</div>";
|
||||
|
||||
html += info.MatchStrings.map(function (m) {
|
||||
return "<div secondary>" + m + "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue