mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fixed: error with parent joins in thirdparty api search query
This commit is contained in:
@@ -75,7 +75,7 @@ class ThirdPartyApiSearch implements SearchApiInterface
|
||||
LEFT JOIN chill_main_postal_code cmpc ON cma.postcode_id = cmpc.id
|
||||
LEFT JOIN chill_3party.third_party AS parent ON tparty.parent_id = parent.id
|
||||
LEFT JOIN chill_main_address cma_p ON parent.address_id = cma_p.id
|
||||
LEFT JOIN chill_main_postal_code cmpc_p ON cma_p.postcode_id = cmpc.id')
|
||||
LEFT JOIN chill_main_postal_code cmpc_p ON cma_p.postcode_id = cmpc_p.id')
|
||||
->andWhereClause('tparty.active IS TRUE');
|
||||
|
||||
$strs = explode(' ', $pattern);
|
||||
|
Reference in New Issue
Block a user