Sfoglia il codice sorgente

fixed count total rows in TableAjax

Piotr Labudda 7 anni fa
parent
commit
0996a84c37
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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);
 		$jsonData->total = ('1' === V::get('SKIP_TOTAL', '', $args)) ? -1 : $queryFeatures->getTotal();
 		if ('1' === V::get('ONLY_TOTAL', '', $args)) {
-			sleep(2);
 			$jsonData->type = 'success';
 			$jsonData->msg = 'pobrano nowe dane';
 			return $jsonData;