Revize 540d2579
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
application/controllers/messages.php | ||
---|---|---|
|
||
$allowed_order_type = array
|
||
(
|
||
'id', 'from', 'to', 'extension', 'opening_balance', 'closing_balance'
|
||
'id', 'message'
|
||
);
|
||
|
||
if (!in_array(strtolower($order_by), $allowed_order_type))
|
||
... | ... | |
'order_by' => $order_by,
|
||
'order_by_direction' => $order_by_direction,
|
||
'limit_results' => $limit_results,
|
||
'url_array_ofset' => 1,
|
||
'filter' => $filter_form
|
||
));
|
||
|
Také k dispozici: Unified diff
refs #1015: fix ordering in messages grid