1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Miglioramento #216

This commit is contained in:
Bacca97
2018-05-22 14:41:42 +02:00
parent cfea6c12f0
commit 11e73ca2c5
17 changed files with 189 additions and 52 deletions

View File

@ -102,6 +102,7 @@ if (!empty($result_query) && $result_query != 'menu' && $result_query != 'custom
// Query effettiva
$query = str_replace_once('SELECT', 'SELECT SQL_CALC_FOUND_ROWS', $result_query);
$rs = $dbo->fetchArray($query);
// Conteggio dei record filtrati
@ -222,4 +223,5 @@ if (!empty($result_query) && $result_query != 'menu' && $result_query != 'custom
}
}
echo json_encode($results);
$rows = json_encode($results);
echo $rows;