sort Character groups Quests by date (resolves issue #305)
This commit is contained in:
parent
688d6d6382
commit
6ba52812c9
1 changed files with 3 additions and 2 deletions
|
|
@ -52,7 +52,8 @@
|
||||||
return $this->db->query(
|
return $this->db->query(
|
||||||
'SELECT id, questgroups_id, title, url, xps '.
|
'SELECT id, questgroups_id, title, url, xps '.
|
||||||
'FROM charactergroupsquests '.
|
'FROM charactergroupsquests '.
|
||||||
'WHERE charactergroupsgroup_id = ?',
|
'WHERE charactergroupsgroup_id = ? '.
|
||||||
|
'ORDER BY created ASC',
|
||||||
'i',
|
'i',
|
||||||
$groupsgroupId
|
$groupsgroupId
|
||||||
);
|
);
|
||||||
|
|
@ -124,7 +125,7 @@
|
||||||
'FROM charactergroupsquests_groups '.
|
'FROM charactergroupsquests_groups '.
|
||||||
'LEFT JOIN charactergroupsquests ON charactergroupsquests.id = charactergroupsquests_groups.charactergroupsquest_id '.
|
'LEFT JOIN charactergroupsquests ON charactergroupsquests.id = charactergroupsquests_groups.charactergroupsquest_id '.
|
||||||
'WHERE charactergroupsquests_groups.charactergroup_id = ? '.
|
'WHERE charactergroupsquests_groups.charactergroup_id = ? '.
|
||||||
'ORDER BY charactergroupsquests.created DESC',
|
'ORDER BY charactergroupsquests.created ASC',
|
||||||
'i',
|
'i',
|
||||||
$groupId
|
$groupId
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue