a8m / a8m/angular-filter

GroupBy question

Open
#115 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.9k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Hi all,

I have a question about the groupBy function. I'm using this (see below) for the group by.

"(key, value) in items | filter:searchFilter | groupBy: 'name'"

Now everything works perfect, the {{key}} gives me the grouped name. But i need also the grouped key. So is it possible to do a multi group and get the seperated grouped keys? i.e. {{key.id}} {{key.name}} ??

Kind regards,
Kab

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.