summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-08-17 14:54:02 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:23:17 +0100
commit47b8c7e1acddb890ecce1e7f13352bd5b31d8d24 (patch)
treeb4f5caee4458929bddb2371863abd9a2d1163ee8 /ishtar_common/models.py
parent5d9d9a35eb15eb5cfee880ca1ef185dcf16b2817 (diff)
downloadIshtar-47b8c7e1acddb890ecce1e7f13352bd5b31d8d24.tar.bz2
Ishtar-47b8c7e1acddb890ecce1e7f13352bd5b31d8d24.zip
Add "is locked" search (refs #5419)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 0ee33d5ed..e7520ee95 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3803,7 +3803,7 @@ class Document(
SearchVectorConfig("tags__label"),
]
- BOOL_FIELDS = ["duplicate"]
+ BOOL_FIELDS = BaseHistorizedItem.BOOL_FIELDS + ["duplicate"]
COL_LABELS = {
"authors__cached_label": _("Authors"),