From a8af8b78ef4b1b57809023a77055ebccb3971f20 Mon Sep 17 00:00:00 2001 From: Horilla Date: Fri, 14 Jun 2024 10:48:36 +0530 Subject: [PATCH] [FIX] BASE: Employee filter badge count wrong indication --- horilla_views/templates/generic/group_by.html | 2 +- horilla_views/templates/generic/horilla_card.html | 2 +- horilla_views/templates/generic/horilla_list.html | 2 +- horilla_views/templates/generic/horilla_nav.html | 4 ++-- templates/sidebar.html | 3 ++- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/horilla_views/templates/generic/group_by.html b/horilla_views/templates/generic/group_by.html index ef763b7ea..84ec53d15 100644 --- a/horilla_views/templates/generic/group_by.html +++ b/horilla_views/templates/generic/group_by.html @@ -10,7 +10,7 @@ reloadSelectedCount($('#count_{{view_id|safe}}')); " style="cursor: pointer;"> - {% trans "Select All" %}{{select_all_path}} + {% trans "Select All" %} {{queryset.paginator.count}}
{% for action in actions %}
  • - {{action.action}} + {{instance|getattribute:action.action|default:action.action}}
  • {% endfor %} diff --git a/horilla_views/templates/generic/horilla_list.html b/horilla_views/templates/generic/horilla_list.html index 76b5e0541..8becf9257 100644 --- a/horilla_views/templates/generic/horilla_list.html +++ b/horilla_views/templates/generic/horilla_list.html @@ -14,7 +14,7 @@ reloadSelectedCount($('#count_{{view_id|safe}}')); " style="cursor: pointer;"> - {% trans "Select All" %}{{select_all_path}} + {% trans "Select All" %} {{queryset.paginator.count}}
    {% trans "Filter" %} @@ -214,7 +214,7 @@