mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Fix sorting of mobile devices table
This commit is contained in:
parent
db90b8ad18
commit
0fe422b71d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ DOCUMENTATION :: END
|
|||
</%doc>
|
||||
|
||||
<ul class="stacked-configs list-unstyled">
|
||||
% for device in sorted(devices_list, key=lambda k: k['device_name']):
|
||||
% for device in sorted(devices_list, key=lambda k: ((k['friendly_name'] or k['device_name']).lower(), k['id'])):
|
||||
<li class="mobile-device pointer" data-id="${device['id']}" data-name="${device['device_name']}">
|
||||
<span>
|
||||
% if device['official'] == -1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue