mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Sort newsletter libraries when rendered
This commit is contained in:
parent
0e5bb7b188
commit
aa844b76fc
2 changed files with 5 additions and 5 deletions
|
@ -560,7 +560,7 @@ class RecentlyAdded(Newsletter):
|
|||
'show': 'TV Show Libraries',
|
||||
'artist': 'Music Libraries'}
|
||||
sections = {}
|
||||
for s in sorted(self._get_sections(), key=lambda x: x['section_name']):
|
||||
for s in self._get_sections():
|
||||
if s['section_type'] != 'photo':
|
||||
library_type = library_types[s['section_type']]
|
||||
group = sections.get(library_type, [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue