fixed category list on postgres
This commit is contained in:
parent
fb60ba4c0f
commit
6527d1e36c
5 changed files with 26 additions and 26 deletions
|
@ -31,9 +31,9 @@ sub post_category_list {
|
|||
value => { sum => 'value' },
|
||||
category_id => 'category_id',
|
||||
essential => 'essential',
|
||||
}
|
||||
},
|
||||
],
|
||||
group_by => [ qw/ category_id quantised_weeks / ],
|
||||
group_by => [ qw/ category_id quantised_weeks essential value / ],
|
||||
order_by => { '-desc' => 'value' },
|
||||
}
|
||||
);
|
||||
|
|
Reference in a new issue