Merge pull request #99 from Pear-Trading/finn/categoryAPI

Updated data view
This commit is contained in:
Finn 2018-01-26 10:29:31 +00:00 committed by GitHub
commit da86e52735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -2,6 +2,9 @@
# Next Release # Next Release
* Added API for category budget
* Added working test for the new API
# v0.10.3 # v0.10.3
* Added Category and Transaction Category tables to DB * Added Category and Transaction Category tables to DB

View file

@ -33,7 +33,7 @@ sub post_category_list {
} }
], ],
group_by => [ qw/ category_id quantised_weeks / ], group_by => [ qw/ category_id quantised_weeks / ],
order_by => { '-desc' => 'quantised_weeks' }, order_by => { '-desc' => 'value' },
} }
); );