diff options
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 |
commit | 47b8c7e1acddb890ecce1e7f13352bd5b31d8d24 (patch) | |
tree | b4f5caee4458929bddb2371863abd9a2d1163ee8 /ishtar_common/forms.py | |
parent | 5d9d9a35eb15eb5cfee880ca1ef185dcf16b2817 (diff) | |
download | Ishtar-47b8c7e1acddb890ecce1e7f13352bd5b31d8d24.tar.bz2 Ishtar-47b8c7e1acddb890ecce1e7f13352bd5b31d8d24.zip |
Add "is locked" search (refs #5419)
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r-- | ishtar_common/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |