Skip to content

Commit

Permalink
Fix taxref route : noms with 2 lists (#558)
Browse files Browse the repository at this point in the history
* Fix taxref route : noms with 2 lists - fix : PnX-SI/gn_mobile_occtax#263
  • Loading branch information
amandine-sahl authored Sep 13, 2024
1 parent 14614a7 commit 115c1cf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.14.1
1.14.2
4 changes: 3 additions & 1 deletion apptax/taxonomie/routestaxref.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ def getTaxrefHierarchieBibNoms(rang):


def genericTaxrefList(inBibtaxon, parameters):
q = Taxref.query.options(raiseload("*"), joinedload(Taxref.bib_nom).joinedload(BibNoms.listes))
q = Taxref.query.options(
raiseload("*"), joinedload(Taxref.bib_nom).joinedload(BibNoms.listes)
).distinct()

nbResultsWithoutFilter = q.count()

Expand Down
10 changes: 9 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
1.14.2 (2024-09-13)
===================

**🐛 Corrections**

- Correction de la route `/taxref` quand un nom appartient à plusieurs listes (https://github.com/PnX-SI/gn_mobile_occtax/issues/263)


1.14.1 (2024-05-23)
===================

**🚀 Nouveautés**

- Mise à jour de dépendances critiques : `requests`, `jinja2`, `werkzeug`, `idna`, `gunicorn` (#497)
Expand All @@ -12,7 +21,6 @@
* Mise à jour de TaxRef et de la base de connaissance "Statuts" en v17 (#487)
* Amélioration des performances du script de migration entre deux versions de Taxref. Contribution de @nico-imbert et @MathieuManceau.


**🐛 Corrections**.

* Correction d'une mauvaise synchronisation du cookie et du JWT via une MAJ de pypnusershub (https://github.com/PnX-SI/UsersHub-authentification-module/pull/94)
Expand Down

0 comments on commit 115c1cf

Please sign in to comment.