Open <joomla_directory>\administrator\components\com_ariquiz\kernel\Controllers\AriQuiz\class.QuizController.php file, find "getQuizList" method and replace the following code:
Code: |
$query = sprintf('SELECT Q.QuizId, Q.QuizName, Q.Status, QC.CategoryName' .
|
and replace it with the next one:
Code: |
$query = sprintf('SELECT Q.QuizId, Q.QuizId AS QuizId1, Q.QuizName, Q.Status, QC.CategoryName' .
|
After this open <joomla_directory>\administrator\components\com_ariquiz\pages\quiz_list.php file and replace the following code:
Code: |
new AriDataTableControlColumn(array('key' => 'QuizId', 'label' => AriWebHelper::translateResValue('Label.ID'), 'className' => 'dtCenter dtColMin')),
|
with the next one:
Code: |
new AriDataTableControlColumn(array('key' => 'QuizId1', 'label' => AriWebHelper::translateResValue('Label.ID'), 'className' => 'dtCenter dtColMin', 'sortable' => true)),
|
After this "ID" column becomes sortable.
Regards,
ARI Soft