From eb54c792cdabada6d36ea56fcb2ba6ec706911b8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 18 Jan 2018 13:34:27 +0100 Subject: SEARCH -> SEARCH_AND_SELECT --- ishtar_common/forms_common.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ishtar_common/forms_common.py') diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 73971adaf..dc18a2108 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -426,6 +426,7 @@ class PersonSelect(TableSelect): class PersonFormSelection(forms.Form): + SEARCH_AND_SELECT = True form_label = _(u"Person search") associated_models = {'pk': models.Person} currents = {'pk': models.Person} @@ -521,7 +522,7 @@ class PersonUserSelect(PersonSelect): class PersonUserFormSelection(PersonFormSelection): - SEARCH = True + SEARCH_AND_SELECT = True form_label = _(u"Person search") associated_models = {'pk': models.Person} currents = {'pk': models.Person} @@ -552,7 +553,7 @@ class IshtarUserSelect(TableSelect): class AccountFormSelection(forms.Form): - SEARCH = True + SEARCH_AND_SELECT = True form_label = _(u"Account search") associated_models = {'pk': models.IshtarUser} currents = {'pk': models.IshtarUser} -- cgit v1.2.3