mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
add row limit
This commit is contained in:
parent
bd65e75cf4
commit
2949fd4079
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ class DataFactory(object):
|
|||
'stat_type': sort_type,
|
||||
'stat_title': 'Most Active Libraries',
|
||||
'rows': session.mask_session_info(
|
||||
sorted(top_libraries, key=lambda k: k[sort_type], reverse=True),
|
||||
sorted(top_libraries, key=lambda k: k[sort_type], reverse=True)[:10],
|
||||
mask_metadata=False)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue