From 704753cbfc9a9fdfb99dae691909e917adeb8b7d Mon Sep 17 00:00:00 2001 From: Ivan Melnik Date: Fri, 14 Jun 2024 12:49:12 +0300 Subject: [PATCH] fix: date filters in search --- hkm/templates/hkm/views/search.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hkm/templates/hkm/views/search.html b/hkm/templates/hkm/views/search.html index 345c5473..23f9353f 100644 --- a/hkm/templates/hkm/views/search.html +++ b/hkm/templates/hkm/views/search.html @@ -24,7 +24,7 @@

{% trans 'Search pictures' %}

- {% for date in all_dates|dictsort:"translated" %} + {% for date in facet_result.facets.main_date_str|dictsort:"translated" %}