summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/forms.py5
-rw-r--r--ishtar_common/views_item.py2
2 files changed, 7 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",
diff --git a/ishtar_common/views_item.py b/ishtar_common/views_item.py
index 7e9003661..df0d7f2ef 100644
--- a/ishtar_common/views_item.py
+++ b/ishtar_common/views_item.py
@@ -100,6 +100,7 @@ LIST_FIELDS = { # key: hierarchic depth
"conservatory_states": HIERARCHIC_LEVELS,
"identifications": HIERARCHIC_LEVELS,
"material_types": HIERARCHIC_LEVELS,
+ "iconographic_patterns": HIERARCHIC_LEVELS,
"material_type": HIERARCHIC_LEVELS,
"object_types": HIERARCHIC_LEVELS,
"period": HIERARCHIC_LEVELS,
@@ -118,6 +119,7 @@ LIST_FIELDS = { # key: hierarchic depth
"documentations": HIERARCHIC_LEVELS,
"excavation_technics": HIERARCHIC_LEVELS,
"treatment_types": HIERARCHIC_LEVELS,
+ "listed_building_protection_nature": HIERARCHIC_LEVELS,
"discovery_method": 0,
"discovery_status": 0,
"current_status": 0,