OpenEdition / lodel

Science publishing CMS
GNU General Public License v2.0
50 stars 27 forks source link

SQL error when no idtype is defined before running alphabetSpec loop #140

Open oliviercrouzet opened 1 year ago

oliviercrouzet commented 1 year ago

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'