Skip to content

Conversation

oliviercrouzet
Copy link
Contributor

In this case, jointure with entities table should be included through ${table} placeholder but $context['table'] is set instead in the sql2 request. We get the following kind of request that provokes an error : SELECT COUNT(titreoeuvre) as nbresults FROM textes WHERE status > 0 AND SUBSTRING(titreoeuvre,1,1) = 'A'

In this case, jointure with entities table should be included through ${table} placeholder but
$context['table'] is set instead in the sql2 request.
We get the following kind of request that provokes an error :
SELECT COUNT(titreoeuvre) as nbresults FROM  textes WHERE status > 0  AND SUBSTRING(titreoeuvre,1,1) = 'A'
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.

1 participant