1
0
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:
Sylvain 2016-07-13 11:12:16 +02:00
parent ad19bfbd79
commit c863975e9c

View File

@ -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()