summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar_common/forms_common.py1
-rw-r--r--ishtar_common/models.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py
index 22992d322..73971adaf 100644
--- a/ishtar_common/forms_common.py
+++ b/ishtar_common/forms_common.py
@@ -533,6 +533,7 @@ class PersonUserFormSelection(PersonFormSelection):
class IshtarUserSelect(TableSelect):
+ search_vector = forms.CharField(label=_(u"Full text search"))
username = forms.CharField(label=_(u"Username"), max_length=200)
name = forms.CharField(label=_(u"Name"), max_length=200)
surname = forms.CharField(label=_(u"Surname"), max_length=50)
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 0563a6d8e..ed641330f 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2566,6 +2566,7 @@ class IshtarUser(FullSearch):
'email': ['person__email'],
'attached_to': 'person__attached_to__pk',
'person_types': 'person__person_types__pk__in',
+ 'person__person_types_list': 'person__person_types__name'
}
# fields