From 1b74931248bb019596eac24d76fcd26b297e1a73 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 a4706ef05ed83f3921160050bad3d14abb778b47 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