diff --git a/community.go b/community.go index 2575673..9f40ba6 100644 --- a/community.go +++ b/community.go @@ -341,6 +341,7 @@ func MemberList(ctxt ui.AmContext) (string, any, error) { } ctxt.SetLeftMenu("community") ctxt.VarMap().Set("comm", comm) + ctxt.VarMap().Set("hostUid", *comm.HostUid) showHidden := ctxt.TestPermission("Community.ShowHiddenMembers") ctxt.VarMap().Set("canExport", showHidden) ctxt.VarMap().Set("field", "name") @@ -392,6 +393,7 @@ func MemberSearch(ctxt ui.AmContext) (string, any, error) { term := ctxt.FormField("term") ctxt.SetLeftMenu("community") ctxt.VarMap().Set("comm", comm) + ctxt.VarMap().Set("hostUid", comm.HostUid) showHidden := ctxt.TestPermission("Community.ShowHiddenMembers") ctxt.VarMap().Set("canExport", showHidden) ctxt.VarMap().Set("field", field) diff --git a/ui/views/memberlist.jet b/ui/views/memberlist.jet index c243cf5..78f4a2c 100644 --- a/ui/views/memberlist.jet +++ b/ui/views/memberlist.jet @@ -98,12 +98,14 @@