Pārlūkot izejas kodu

fixed count total rows in TableAjax

Piotr Labudda 7 gadi atpakaļ
vecāks
revīzija
0996a84c37
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      SE/se-lib/TableAjax.php

+ 0 - 1
SE/se-lib/TableAjax.php

@@ -2293,7 +2293,6 @@ jQuery(document).ready(function(){
 		$queryFeatures = $acl->buildQuery($params);
 		$queryFeatures = $acl->buildQuery($params);
 		$jsonData->total = ('1' === V::get('SKIP_TOTAL', '', $args)) ? -1 : $queryFeatures->getTotal();
 		$jsonData->total = ('1' === V::get('SKIP_TOTAL', '', $args)) ? -1 : $queryFeatures->getTotal();
 		if ('1' === V::get('ONLY_TOTAL', '', $args)) {
 		if ('1' === V::get('ONLY_TOTAL', '', $args)) {
-			sleep(2);
 			$jsonData->type = 'success';
 			$jsonData->type = 'success';
 			$jsonData->msg = 'pobrano nowe dane';
 			$jsonData->msg = 'pobrano nowe dane';
 			return $jsonData;
 			return $jsonData;