mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Admin UI better sort handling (thanks Dingjie Yang)
This commit is contained in:
@@ -2314,8 +2314,11 @@ class e_form
|
|||||||
{
|
{
|
||||||
$text = "";
|
$text = "";
|
||||||
|
|
||||||
// Recommended pattern: mode=list&field=[FIELD]&asc=[ASC]&from=[FROM]
|
$querypattern = filter_var($querypattern, FILTER_SANITIZE_STRING);
|
||||||
|
if(!$requeststr) $requeststr = rawurldecode(e_QUERY);
|
||||||
|
$requeststr = filter_var($requeststr, FILTER_SANITIZE_STRING);
|
||||||
|
|
||||||
|
// Recommended pattern: mode=list&field=[FIELD]&asc=[ASC]&from=[FROM]
|
||||||
if(strpos($querypattern,'&')!==FALSE)
|
if(strpos($querypattern,'&')!==FALSE)
|
||||||
{
|
{
|
||||||
// we can assume it's always $_GET since that's what it will generate
|
// we can assume it's always $_GET since that's what it will generate
|
||||||
|
Reference in New Issue
Block a user