toulouse-2022: add search services (#74190)
gitea/publik-base-theme/pipeline/pr-main This commit looks good Details
gitea/publik-base-theme/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Nicolas Roche 2023-02-04 21:30:41 +01:00 committed by Gitea
parent 67a27717c2
commit 3984cfccf8
1 changed files with 18 additions and 0 deletions

View File

@ -43,6 +43,24 @@
"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": {
"toulouse_activites": {
"cache_duration": 0,