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 avoid Unknown column 'pfp.ref_fourn' #28145

Merged
merged 1 commit into from
Feb 15, 2024
Merged

Conversation

hregis
Copy link
Contributor

@hregis hregis commented Feb 12, 2024

@eldy backport to avoid error :

Error url=/product/list.php?sall=sardine, query_string=sall=sardine, sql=SELECT COUNT(*) as nbtotalofrecords FROM llx_product as p LEFT JOIN llx_product_extrafields as ef on (p.rowid = ef.fk_object) LEFT JOIN llx_c_units cu ON cu.rowid = p.fk_unit WHERE p.entity IN (1) AND ((p.ref LIKE '%sardine%' OR pfp.ref_fourn LIKE '%sardine%' OR p.label LIKE '%sardine%' OR p.description LIKE '%sardine%' OR p.note LIKE '%sardine%' OR p.barcode LIKE '%sardine%' OR pfp.barcode LIKE '%sardine%')), db_error=Unknown column 'pfp.ref_fourn' in 'where clause'

@hregis hregis requested a review from eldy February 12, 2024 18:39
@eldy eldy merged commit 1ef91d3 into Dolibarr:14.0 Feb 15, 2024
2 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.

None yet

2 participants