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:
f7badf5
)
[#3176] Ajouté des champs pour la recherche textuelle de dossiers
author
Eric Mc Sween
<eric.mcsween@auf.org>
Fri, 1 Jun 2012 18:16:51 +0000
(14:16 -0400)
committer
Eric Mc Sween
<eric.mcsween@auf.org>
Fri, 1 Jun 2012 18:16:51 +0000
(14:16 -0400)
* id de l'employé, du dossier et du poste
* nom de l'implantation
project/rh/admin.py
patch
|
blob
|
blame
|
history
diff --git
a/project/rh/admin.py
b/project/rh/admin.py
index
3226db6
..
a487214
100644
(file)
--- a/
project/rh/admin.py
+++ b/
project/rh/admin.py
@@
-304,10
+304,15
@@
class DossierAdmin(DateRangeMixin, AUFMetadataAdminMixin, \
ProtectRegionMixin, admin.ModelAdmin, AjaxSelect,):
alphabet_filter = 'employe__nom'
search_fields = (
- 'employe__nom',
- 'employe__prenom',
- 'poste__nom',
- 'poste__nom_feminin')
+ 'id',
+ 'employe__id',
+ 'poste__id',
+ 'employe__nom',
+ 'employe__prenom',
+ 'poste__nom',
+ 'poste__nom_feminin',
+ 'poste__implantation__nom',
+ )
list_display = (
'_id',
'_apercu',