Filter exam sheets by E symbol
This commit is contained in:
@@ -53,6 +53,7 @@ class QuestionsModel extends ListModel
|
||||
->leftJoin($db->quoteName('#__testquestions_categories', 'c') . ' ON c.id = q.category_id')
|
||||
->where('q.' . $db->quoteName('published') . ' = 1')
|
||||
->where('q.' . $db->quoteName('test_symbol') . ' <> ' . $db->quote(''))
|
||||
->where('q.' . $db->quoteName('test_symbol') . ' LIKE ' . $db->quote('E%'))
|
||||
->group(['q.' . $db->quoteName('test_symbol'), 'q.' . $db->quoteName('exam_year'), 'c.' . $db->quoteName('title')])
|
||||
->order('q.' . $db->quoteName('exam_year') . ' DESC, q.' . $db->quoteName('test_symbol') . ' ASC')
|
||||
)->loadObjectList();
|
||||
|
||||
Reference in New Issue
Block a user