ignore single quote for meilisearch for now
This commit is contained in:
parent
1665d2d9a6
commit
2c63c16673
1 changed files with 2 additions and 1 deletions
|
@ -149,7 +149,8 @@ class Indexer:
|
|||
elif category:
|
||||
f.append(f"_class = '{category}'")
|
||||
if tag:
|
||||
f.append(f"tags = '{tag}'")
|
||||
t = tag.replace("'", "")
|
||||
f.append(f"tags = '{t}'")
|
||||
filter = ' AND '.join(f)
|
||||
else:
|
||||
filter = None
|
||||
|
|
Loading…
Add table
Reference in a new issue