Skip to content

Commit

Permalink
Fixed UsersAdmin filter links
Browse files Browse the repository at this point in the history
  • Loading branch information
burithetech committed Mar 6, 2024
1 parent b8a9278 commit 853751a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/templates/GroupsAdmin/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<td>
<a n:href="show $group->id">{$group->name}</a>
</td>
<td><a n:href="UsersAdmin:default group => $group->id">{$group->related('user_groups')->count('*')}</a></td>
<td><a n:href="UsersAdmin:default formData => [group => $group->id]">{$group->related('user_groups')->count('*')}</a></td>
<td><small>{$group->sorting}</small></td>
<td>
{$group->created_at|userDate}
Expand Down
4 changes: 2 additions & 2 deletions src/templates/GroupsAdmin/show.latte
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<div class="row">
<div class="col-md-12">
{_users.admin.groups_admin.total_users}:
<a n:href="UsersAdmin:default group => $group->id">{$group->related('user_groups')->count('*')}</a>
<a n:href="UsersAdmin:default group => $group->id" class="btn btn-xs btn-default">{_users.admin.groups_admin.view}</a>
<a n:href="UsersAdmin:default formData => [group => $group->id]">{$group->related('user_groups')->count('*')}</a>
<a n:href="UsersAdmin:default formData => [group => $group->id]" class="btn btn-xs btn-default">{_users.admin.groups_admin.view}</a>
<br>
<hr>
<p>
Expand Down

0 comments on commit 853751a

Please sign in to comment.