From fb3582d2a9b6e8cfff52e61abb72ff0b67d1e110 Mon Sep 17 00:00:00 2001 From: Finn Date: Fri, 26 Jan 2018 09:51:28 +0000 Subject: [PATCH] Updated data view --- lib/Pear/LocalLoop/Controller/Api/Categories.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Pear/LocalLoop/Controller/Api/Categories.pm b/lib/Pear/LocalLoop/Controller/Api/Categories.pm index 8e52d4b..10b4380 100644 --- a/lib/Pear/LocalLoop/Controller/Api/Categories.pm +++ b/lib/Pear/LocalLoop/Controller/Api/Categories.pm @@ -33,7 +33,7 @@ sub post_category_list { } ], group_by => [ qw/ category_id quantised_weeks / ], - order_by => { '-desc' => 'quantised_weeks' }, + order_by => { '-desc' => 'value' }, } );