Commit 06962f6a authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon
Browse files

Bug 1527960: Change sort parameter for DB query result



behatnotneeded
Signed-off-by: default avatarCecilia Vela Gurovic <cecilia@catalyst.net.nz>

Change-Id: I701fbcaf30ee7729f73f1a9c7b37a7602f5909fd
parent 363a224c
......@@ -72,9 +72,9 @@ $sort[] = array('column' => 'title',
'desc' => 0,
);
if ($searchcollection) {
array_unshift($sort, array('column' => 'collection',
array_unshift($sort, array('column' => 'name',
'desc' => 0,
'tablealias' => 'cv'
'tablealias' => 'c'
));
$views->collection = $searchcollection;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment