Closed
Description
When you make a groupBy, filterBy is not working
For example:
[
{
category: 'alpha',
id: 3,
group: 'a'
},{
category: 'beta',
id: 2,
group: 'a'
}, {
category: 'gamma',
id: 1,
group: 'b'
}
]
if you make
ng-repeat="(i, category) in array | orderBy: 'id' | groupBy: 'group' "
{{ i }}
ng-repeta="item in category"
{{ item.category }}
It's render:
a
alpha
beta
b
gamma
instead of
b
gamma
a
beta
alpha