Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List sorted by ref in adherents module #19537

Open
pcbleu opened this issue Dec 2, 2021 · 5 comments
Open

List sorted by ref in adherents module #19537

pcbleu opened this issue Dec 2, 2021 · 5 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@pcbleu
Copy link

pcbleu commented Dec 2, 2021

see this post "Tri par réf dans liste adhérent"

https://www.dolibarr.fr/forum/t/tri-par-ref-dans-liste-adherent/38454
image

@pcbleu pcbleu added the Bug This is a bug (something does not work as expected) label Dec 2, 2021
@pcbleu pcbleu changed the title List sored by ref in adherents module List sorted by ref in adherents module Dec 2, 2021
@jocker132
Copy link

Not reproducible on V 12.0.5 since same as 13.0.

daraelmin added a commit to daraelmin/dolibarr that referenced this issue Nov 15, 2022
@daraelmin
Copy link
Contributor

hi @pcbleu ,
I'm working on a workaround this problem. Could you test the proposition (not in prod cause it may change some datas).
Ths

@ksar-ksar
Copy link
Contributor

Hello,

Is it still the case on V18 ?

@pcbleu
Copy link
Author

pcbleu commented Oct 18, 2023

Hello

in v18.0.1 this part of code is identical with v14

@daraelmin
Copy link
Contributor

The issue is not corrected in v18.0.2.
The sort order is string based but ref are integer.
A very simple work around is to add the rowid as a column in the list.

cheers

Screenshot_20231018-214806230 (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

4 participants