From 47b8c7e1acddb890ecce1e7f13352bd5b31d8d24 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 17 Aug 2022 14:54:02 +0200 Subject: Add "is locked" search (refs #5419) --- ishtar_common/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ishtar_common/forms.py') diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index d181b975d..5a16a508f 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -942,7 +942,7 @@ class HistorySelect(CustomForm, TableSelect): modified_after = forms.DateField( label=_("Modified after"), widget=DatePicker, required=False ) - locked = forms.BooleanField(label=_("Is locked ?")) + locked = forms.NullBooleanField(label=_("Is locked?")) _explicit_ordering = True CURRENT_FIELDS = [ @@ -983,6 +983,7 @@ class DocumentItemSelect(HistorySelect): "history_modifier", "modified_before", "modified_after", + "locked", ] _explicit_ordering = True -- cgit v1.2.3