Commit 557648b1 authored by Dmitriy Samoshenko's avatar Dmitriy Samoshenko
Browse files

closes #20

parent e9e73cfa
......@@ -56,8 +56,13 @@ if (iaView::REQUEST_HTML == $iaView->getRequestType()) {
if (isset($_SESSION['p_order']) && in_array($_SESSION['p_order'], $orders)) {
list($sort, $type) = explode('-', $_SESSION['p_order']);
$iaView->assign('sort_name', $sort);
$iaView->assign('sort_type', $type);
if ('title' == $sort) {
$sort = $sort . '_' . $iaCore->language['iso'];
}
$order = ' `' . $sort . '` ' . $type;
}
......
Supports Markdown
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