InseeFr / InseeFr/Lunatic

Non-Alphabetic order for suggester values

Open
#1,166 6 comments 0 reactions 1 assignee Assigned to @JulienCarmona View on GitHub
Type: Bug
Dominant language
TypeScript
Stars
22
Forks
21
Avg merge
9h 13m
Merged PRs (30d)
2

Description

## Describe the bug

Order is non-alphabetic when we have echo with the same score

## To Reproduce
> [!WARNING]
> Need env with nomenclature `L_LANGUE-2-0-0`.
> Ok on QF

1. Create a survey with suggester Langues
2. Go to visu DSFR
3. Go to sugg question
4. Type "FRA"
5. See wrong order

## Expected behavior

We should have alphabetic order

## Screenshots

![image](https://github.com/user-attachments/assets/566c84a6-194b-4de6-8fef-238f6685f009)

## Version where the bug appeared

Stromae : 1.2.2 | Lunatic : 3.4.4

## Browser where the bug was tested

- [x] Firefox

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.