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

fix join societe_commerciaux in societe list #32557

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

uvaldenaire-opendsi
Copy link
Contributor

In societe/list.php, when we filter the list of tiers with the sale representatives and when the hook printFieldListFrom is used, we get "no such field xxx in on clause" error.

This is the same problem as here: #23941

To fix it i used INNER JOIN instead of comma join.

@rycks
Copy link
Contributor

rycks commented Jan 9, 2025

that is a bug in 18.0 but in 20.0 the solution was different with an EXIST and a subselect request because we don't use data from the join ...

Copy link
Contributor

@rycks rycks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok for me but will not applyed into dolibarr 20.0+ because solution was really different into 20.0

@eldy eldy merged commit f24f4e0 into Dolibarr:18.0 Jan 15, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants