diff --git a/horilla_automations/signals.py b/horilla_automations/signals.py index 29340de71..19882fb65 100644 --- a/horilla_automations/signals.py +++ b/horilla_automations/signals.py @@ -351,7 +351,6 @@ def send_mail(request, automation, instance): to = tos[:1] cc = tos[1:] email_backend = ConfiguredEmailBackend() - print("MAIL SENTTTTT METHODDDDDDDDDD") host = email_backend.dynamic_from_email_with_display_name if mail_to_instance and request: attachments = [] diff --git a/horilla_views/generic/cbv/views.py b/horilla_views/generic/cbv/views.py index 5805ce213..969697a92 100644 --- a/horilla_views/generic/cbv/views.py +++ b/horilla_views/generic/cbv/views.py @@ -114,8 +114,8 @@ class HorillaListView(ListView): def get_queryset(self): if not self.queryset: - queryset = super().get_queryset() - + self.queryset = super().get_queryset() + self._saved_filters = QueryDict("", mutable=True) if self.filter_class: query_dict = self.request.GET if "filter_applied" in query_dict.keys(): @@ -144,7 +144,7 @@ class HorillaListView(ListView): self._saved_filters = query_dict self.request.exclude_filter_form = True self.queryset = self.filter_class( - data=query_dict, queryset=queryset, request=self.request + data=query_dict, queryset=self.queryset, request=self.request ).qs return self.queryset diff --git a/horilla_views/templates/generic/filter_result.html b/horilla_views/templates/generic/filter_result.html index 3949746f0..84034073c 100644 --- a/horilla_views/templates/generic/filter_result.html +++ b/horilla_views/templates/generic/filter_result.html @@ -7,4 +7,4 @@ style="border-radius :50px ;overflow :hidden;" src="{{object.get_avatar}}" /> {{object}} -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/horilla_views/templates/generic/horilla_nav.html b/horilla_views/templates/generic/horilla_nav.html index 434438d6b..7316d90f6 100644 --- a/horilla_views/templates/generic/horilla_nav.html +++ b/horilla_views/templates/generic/horilla_nav.html @@ -14,6 +14,7 @@ > + {% if search_url %}
+ {% endif %} + {% if create_attrs %} @@ -55,11 +55,11 @@
{% for object in instances|slice:"6:9" %} - @@ -77,7 +77,7 @@