From 81fa32e692053c18a3f702d06884922a81ebde38 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 21 Apr 2022 20:03:29 -0400 Subject: [PATCH] minor fix search 500 --- common/search/meilisearch.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/search/meilisearch.py b/common/search/meilisearch.py index 115cb2ad..7d865a29 100644 --- a/common/search/meilisearch.py +++ b/common/search/meilisearch.py @@ -149,7 +149,7 @@ class Indexer: elif category: f.append(f"_class = '{category}'") if tag: - t = tag.replace("'", "") + t = tag.replace("'", "").replace('"', "") f.append(f"tags = '{t}'") filter = ' AND '.join(f) else: diff --git a/requirements.txt b/requirements.txt index ff2434bf..6d0e8a10 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,7 @@ django-sass django-rq django-hijack django-user-messages +django-slack meilisearch easy-thumbnails lxml