mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 23:42:37 -07:00
Remove stats count setting
This commit is contained in:
parent
8535fa4e0a
commit
e51e9493b1
4 changed files with 15 additions and 29 deletions
|
@ -313,7 +313,7 @@ class WebInterface(object):
|
|||
|
||||
@cherrypy.expose
|
||||
@requireAuth()
|
||||
def home_stats(self, time_range=30, stats_type=0, stats_count=5, **kwargs):
|
||||
def home_stats(self, time_range=30, stats_type=0, stats_count=10, **kwargs):
|
||||
data_factory = datafactory.DataFactory()
|
||||
stats_data = data_factory.get_home_stats(time_range=time_range,
|
||||
stats_type=stats_type,
|
||||
|
@ -4593,7 +4593,7 @@ class WebInterface(object):
|
|||
@cherrypy.tools.json_out()
|
||||
@requireAuth(member_of("admin"))
|
||||
@addtoapi()
|
||||
def get_home_stats(self, grouping=0, time_range='30', stats_type=0, stats_count='5', **kwargs):
|
||||
def get_home_stats(self, grouping=0, time_range='30', stats_type=0, stats_count='10', **kwargs):
|
||||
""" Get the homepage watch statistics.
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue