toulouse-2022: add search services (#74190) #160
|
@ -43,6 +43,24 @@
|
||||||
"suffix": "Survol"
|
"suffix": "Survol"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"COMBO_SEARCH_SERVICES.update": {
|
||||||
|
"famille": {
|
||||||
|
"url": "{{passerelle_url}}toulouse-maelis/test/search-family/?q=%(q)s",
|
||||||
|
"label": "Rechercher un dossier famille par nom/prénom",
|
||||||
|
"signature": true,
|
||||||
|
"hit_url_template": "foyer/{{ number }}/",
|
||||||
|
"hit_label_template": "{{ RL1.lastname }} ({{ number }})",
|
||||||
|
"hit_description_template": "{{ RL1.firstname }} {{ RL1.lastname }} {{ RL1.birth.dateBirth|date:'d/m/Y' }}{% if RL2 %}<br/>{{ RL2.firstname }} {{ RL2.lastname }} {{ RL2.birth.dateBirth|date:'d/m/Y' }}{% endif %}"
|
||||||
|
},
|
||||||
|
"dui": {
|
||||||
|
"url": "{{passerelle_url}}toulouse-maelis/test/search-family-dui/?q=%(q)s",
|
||||||
|
"label": "Rechercher un dossier famille par son numéro de DUI",
|
||||||
|
"signature": true,
|
||||||
|
"hit_url_template": "foyer/{{ number }}/",
|
||||||
|
"hit_label_template": "{{ RL1.lastname }} ({{ number }})",
|
||||||
|
"hit_description_template": "{{ RL1.firstname }} {{ RL1.lastname }} {{ RL1.birth.dateBirth|date:'d/m/Y' }}{% if RL2 %}<br/>{{ RL2.firstname }} {{ RL2.lastname }} {{ RL2.birth.dateBirth|date:'d/m/Y' }}{% endif %}"
|
||||||
|
}
|
||||||
|
},
|
||||||
"JSON_CELL_TYPES.update": {
|
"JSON_CELL_TYPES.update": {
|
||||||
"toulouse_activites": {
|
"toulouse_activites": {
|
||||||
"cache_duration": 0,
|
"cache_duration": 0,
|
||||||
|
|
Loading…
Reference in New Issue