overide filters for groups and group lists

- use more sensible query for displaying groups on user page
- privacy_filter now allows group members to see followers_only and private lists and groups they would otherwise not see
This commit is contained in:
Hugh Rundle
2021-10-09 16:11:11 +11:00
parent 714a369246
commit 1bf5758e01
4 changed files with 38 additions and 12 deletions

View File

@ -3,8 +3,7 @@
{% load interaction %}
<div class="columns is-multiline">
{% for membership in memberships %}
{% with group=membership.group %}
{% for group in groups %}
<div class="column is-one-quarter">
<div class="card is-stretchable">
<header class="card-header">
@ -32,6 +31,5 @@
</div>
</div>
</div>
{% endwith %}
{% endfor %}
</div>