projets
/
auf_rh_dae.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35cff4a
)
[#3178] Ajouté des champs à la recherche textuelle des employés
author
Eric Mc Sween
<eric.mcsween@auf.org>
Fri, 1 Jun 2012 18:19:55 +0000
(14:19 -0400)
committer
Eric Mc Sween
<eric.mcsween@auf.org>
Fri, 1 Jun 2012 18:19:55 +0000
(14:19 -0400)
* Nom du poste
project/rh/admin.py
patch
|
blob
|
blame
|
history
diff --git
a/project/rh/admin.py
b/project/rh/admin.py
index
a487214
..
5ed964e
100644
(file)
--- a/
project/rh/admin.py
+++ b/
project/rh/admin.py
@@
-493,7
+493,11
@@
class EmployeAdmin(DateRangeMixin, AUFMetadataAdminMixin, \
prefixe_recherche_temporelle = "rh_dossiers__"
alphabet_filter = 'nom'
DEFAULT_ALPHABET = u'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- search_fields = ('id', 'nom', 'prenom', 'nom_affichage', )
+ search_fields = (
+ 'id', 'nom', 'prenom', 'nom_affichage',
+ 'rh_dossiers__poste__nom',
+ 'rh_dossiers__poste__nom_feminin'
+ )
ordering = ('nom', )
form = EmployeAdminForm
list_display = (