Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can angular-filter groupby object #230

Open
mrpsweet opened this issue Nov 30, 2016 · 0 comments
Open

can angular-filter groupby object #230

mrpsweet opened this issue Nov 30, 2016 · 0 comments

Comments

@mrpsweet
Copy link

mrpsweet commented Nov 30, 2016

$scope.players = [
  {name: 'Gene', team: 'alpha'},
  {name: 'George', team: 'beta'},
  {name: 'Steve', team: 'gamma'},
  {name: 'Paula', team: 'beta'},
  {name: 'Scruath', team: 'gamma'}
];
groupBy: 'team'

I know this ok.

can angular-filter groupby do this?

$scope.players = [
  {1,{name: 'Gene', team: 'alpha'}},
  {2,{name: 'George', team: 'beta'}},
  {3,{name: 'Steve', team: 'gamma'}}
];
groupBy: 'team'

yeah it's not {key,value}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant