mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-02 22:30:03 +03:00
This reverts commit 65ac272179
.
This commit is contained in:
parent
1646f5e631
commit
ab46632a32
2 changed files with 5 additions and 13 deletions
|
@ -615,13 +615,7 @@ jQuery(document).on('click', '.close-user-details', function(e) {
|
|||
processing: true,
|
||||
serverSide: true,
|
||||
serverMethod: "POST",
|
||||
ajax: {
|
||||
url : "admin/user_list_backend.php",
|
||||
type : "POST",
|
||||
data : {
|
||||
pwg_token : pwg_token
|
||||
}
|
||||
},
|
||||
ajaxSource: "admin/user_list_backend.php",
|
||||
pagingType: "simple",
|
||||
language: {
|
||||
processing: "{/literal}{'Loading...'|translate|escape:'javascript'}{literal}",
|
||||
|
|
|
@ -70,7 +70,6 @@ if ( isset( $_REQUEST['iDisplayStart'] ) && $_REQUEST['iDisplayLength'] != '-1'
|
|||
$sLimit = "LIMIT ".$_REQUEST['iDisplayStart'].", ".$_REQUEST['iDisplayLength'];
|
||||
}
|
||||
|
||||
$sOrder = "";
|
||||
|
||||
/*
|
||||
* Ordering
|
||||
|
@ -105,7 +104,7 @@ if ( isset( $_REQUEST['iSortCol_0'] ) )
|
|||
* on very large tables, and MySQL's regex functionality is very limited
|
||||
*/
|
||||
$sWhere = "";
|
||||
if ( isSet( $_REQUEST['sSearch']) && $_REQUEST['sSearch'] != "" )
|
||||
if ( $_REQUEST['sSearch'] != "" )
|
||||
{
|
||||
$sWhere = "WHERE (";
|
||||
for ( $i=0 ; $i<count($aColumns) ; $i++ )
|
||||
|
@ -162,13 +161,12 @@ $rResultTotal = pwg_query($sQuery);
|
|||
$aResultTotal = pwg_db_fetch_array($rResultTotal);
|
||||
$iTotal = $aResultTotal[0];
|
||||
|
||||
$sEcho = isSet($_REQUEST['sEcho']) ? intval($_REQUEST['sEcho']) : 0;
|
||||
|
||||
/*
|
||||
* Output
|
||||
*/
|
||||
$output = array(
|
||||
"sEcho" => $sEcho,
|
||||
"sEcho" => intval($_REQUEST['sEcho']),
|
||||
"iTotalRecords" => $iTotal,
|
||||
"iTotalDisplayRecords" => $iFilteredTotal,
|
||||
"aaData" => array()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue