Lines Matching refs:sort
49 * Where to sort in?
166 case 'sort':
168 $sort = $column['key'];
169 if (substr($sort, 0, 1) == '^') {
170 $data['sort'] = [substr($sort, 1), 'DESC'];
172 $data['sort'] = [$sort, 'ASC'];
424 // add sort arrow
425 if (isset($data['sort']) && $ckey == $data['sort'][0]) {
426 if ($data['sort'][1] == 'ASC') {
436 '" title="' . $this->getLang('sort') . '">' . hsc($head) . '</a>';
627 if (isset($data['sort'])) {
628 $col = $data['sort'][0];
631 $order = 'ORDER BY pages.page ' . $data['sort'][1];
633 $order = 'ORDER BY pages.class ' . $data['sort'][1];
635 $order = 'ORDER BY pages.title ' . $data['sort'][1];
637 $order = 'ORDER BY pages.lastmod ' . $data['sort'][1];
639 // sort by hidden column?
646 $order = 'ORDER BY ' . $tables[$col] . '.value ' . $data['sort'][1];
727 $data['sort'] = [substr($_REQUEST['datasrt'], 1), 'DESC'];
729 $data['sort'] = [$_REQUEST['datasrt'], 'ASC'];
746 * Check whether a sort or filter request parameters are available