Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Intelliants
Articles Script
Commits
557648b1
Commit
557648b1
authored
Dec 14, 2017
by
Dmitriy Samoshenko
Browse files
closes
#20
parent
e9e73cfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
index.php
View file @
557648b1
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment