summaryrefslogtreecommitdiff
path: root/ishtar_common/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2026-04-20 16:03:16 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-04-21 12:19:03 +0200
commite7257529560713e1b5bd36fd94279da91ec34979 (patch)
treeb097f71e0064500e8d370f8d9b45695e2b58d61a /ishtar_common/forms.py
parenta0f393c0369130620cc99d6222a57503c15fd5d9 (diff)
downloadIshtar-e7257529560713e1b5bd36fd94279da91ec34979.tar.bz2
Ishtar-e7257529560713e1b5bd36fd94279da91ec34979.zip
✨ generic search: add editors - find search: add many fields
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r--ishtar_common/forms.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py
index 87d498596..138a15901 100644
--- a/ishtar_common/forms.py
+++ b/ishtar_common/forms.py
@@ -1091,6 +1091,10 @@ class TableSelect(IshtarForm):
class HistorySelect(CustomForm, TableSelect):
+ editors = forms.IntegerField(
+ label=_("Editor"), required=False,
+ widget=widgets.JQueryAutoComplete(
+ reverse_lazy('autocomplete-author')))
history_creator = forms.IntegerField(
label=_("Created by"),
widget=widgets.JQueryAutoComplete(
@@ -1119,6 +1123,7 @@ class HistorySelect(CustomForm, TableSelect):
_explicit_ordering = True
CURRENT_FIELDS = [
+ "editors",
"history_creator",
"created",
"history_modifier",