Développement #61503
API stats, utiliser le slug des catégories plutôt que l'identifiant
Start date:
07 February 2022
Due date:
% Done:
0%
Estimated time:
Patch proposed:
Yes
Planning:
No
Description
Dans
category_options = [{'id': '_all', 'label': C_('categories|All')}] + [ {'id': x.id, 'label': x.name} for x in categories ]
plutôt utiliser url_name. Ça devrait être plus stable à l'import/export côté combo.
Files
Associated revisions
History
Updated by Valentin Deniaud over 2 years ago
- File 0001-statistics-use-category-slug-rather-than-id-61503.patch 0001-statistics-use-category-slug-rather-than-id-61503.patch added
- Status changed from Nouveau to Solution proposée
- Patch proposed changed from No to Yes
Updated by Lauréline Guérin over 2 years ago
- Status changed from Solution proposée to Solution validée
Updated by Valentin Deniaud over 2 years ago
- Status changed from Solution validée to Résolu (à déployer)
commit 7180d8eaeea19f06de0623bfdd1c671cb2e491aa Author: Valentin Deniaud <vdeniaud@entrouvert.com> Date: Tue Mar 8 18:01:33 2022 +0100 statistics: use category slug rather than id (#61503)
Updated by Transition automatique over 2 years ago
- Status changed from Résolu (à déployer) to Solution déployée
statistics: use category slug rather than id (#61503)