mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
statistics tables: sort by date
This commit is contained in:
parent
ad19bfbd79
commit
c863975e9c
@ -58,6 +58,7 @@ Application.Controllers.controller "StatisticsController", ["$scope", "$state",
|
||||
## default: results are not sorted
|
||||
$scope.sorting =
|
||||
ca: 'none'
|
||||
date: 'desc'
|
||||
|
||||
## active tab will be set here
|
||||
$scope.selectedIndex = null
|
||||
@ -150,6 +151,7 @@ Application.Controllers.controller "StatisticsController", ["$scope", "$state",
|
||||
$scope.customFilter.value = null
|
||||
$scope.customFilter.exclude = false
|
||||
$scope.sorting.ca = 'none'
|
||||
$scope.sorting.date = 'desc'
|
||||
buildCustomFiltersList()
|
||||
refreshStats()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user