Skip to content

Commit

Permalink
Sync: 2024-01-02 21:57:30
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelAllen committed Jan 3, 2024
1 parent dc06fbf commit b48d55b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Rock/Groups/list-known-relationships-for-individual.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
tags:
- language/sql
- language/lava
- type/reporting
- topic/known-relationship
date created: 2020-12-04 23:24:00
date modified: 2022-01-04 10:11:30
date modified: 2024-01-02 21:56:51
---

# List Known Relationships for Individual
Expand Down Expand Up @@ -38,3 +39,14 @@ WHERE
AND gm.GroupRoleId <> @OwnerRoleId
ORDER BY 'Role', 'Person'
```

## Lava Alternative

```liquid
{% assign personKrGroup = Person | Groups:11 | Where:'GroupRoleId','5' | Select:'GroupId' | First | GroupById %}
<ul>
{% for member in personKrGroup.Members %}
<li>{{ member.Person.FullName }} - {{ member.GroupRole.Name }}</li>
{% endfor %}
</ul>
```

0 comments on commit b48d55b

Please sign in to comment.