Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GwilhermPoullennec committed Jan 7, 2022
1 parent 52c3b1e commit bcb670d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions orgues/templates/orgues/orgue_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ <h4 class="card-title mb-0">
<div class="line-clamp-3">
{% spaceless %}
<p class="my-0">
<b>Localisation : </b>
<span v-html="orgue._formatted.commune"></span>
<span v-if="orgue.ancienne_commune">(</span>
<span v-html="orgue._formatted.ancienne_commune" v-if="orgue.ancienne_commune"></span>
Expand Down Expand Up @@ -177,6 +176,7 @@ <h4 class="card-title mb-0">
filter: {},
facetOpen: {},
departement: '{{ departement|default_if_none:'' }}',
region: '{{ region|default_if_none:'' }}',
departements: departements,
requete_page: {% if page %}{{ page}}{% else %}1{% endif %}
},
Expand Down Expand Up @@ -250,7 +250,9 @@ <h4 class="card-title mb-0">
if (departement) {
pageUrl += '&departement=' + departement
}
if (query) {
if (region) {
pageUrl += '&region=' + region
} if (query) {
pageUrl += '&query=' + query
}
if (sort) {
Expand All @@ -273,6 +275,7 @@ <h4 class="card-title mb-0">
pageUrl: pageUrl,
page: page,
departement: departement,
region: region,
sort: sort,
...filters,
},
Expand Down

0 comments on commit bcb670d

Please sign in to comment.