Thanks, this is what I was looking for. I am getting the following error at the line where the inner query starts. The whole query is part of getListQuery() in my model which extends the ListModel(). If I remove the inner query and the left join the original query works. I believe there are no parameters for binding at this point. Any hint appreciated .
Call to a member function select() on null
Statistics: Posted by JanoD — Tue Jun 11, 2024 5:56 am