From fb3582d2a9b6e8cfff52e61abb72ff0b67d1e110 Mon Sep 17 00:00:00 2001 From: Finn Date: Fri, 26 Jan 2018 09:51:28 +0000 Subject: [PATCH 1/2] 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' }, } ); From 7006999ab14b546259042565150412e0faa3c192 Mon Sep 17 00:00:00 2001 From: Finn Date: Fri, 26 Jan 2018 10:09:47 +0000 Subject: [PATCH 2/2] Updated changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2dbd3d..3cd1f6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ # Next Release +* Added API for category budget +* Added working test for the new API + # v0.10.3 * Added Category and Transaction Category tables to DB