Skip to content
Snippets Groups Projects
Commit 09e810bd authored by kaushik p's avatar kaushik p
Browse files

#Fixes::156799022::kaushik::total page records count not displaying in poup

parent 567ccfad
No related branches found
No related tags found
2 merge requests!1009Fixes::156799022::kaushik::Total Page count in import popup displays 0 fixed,!970#Fixes::156799022::kaushik::Total page records count not displaying && cannot move to next page in popup window
......@@ -277,8 +277,11 @@ class Vtiger_Popup_View extends Vtiger_Footer_View {
$viewer->assign('SEARCH_DETAILS', $searchParams);
$viewer->assign('MODULE_MODEL', $moduleModel);
$viewer->assign('VIEW', $request->get('view'));
if (PerformancePrefs::getBoolean('LISTVIEW_COMPUTE_PAGE_COUNT', false)) {
/**
* it returns false , if(false) is false it will not enter function , since we made negation ...
* negation(false) is true
*/
if (!PerformancePrefs::getBoolean('LISTVIEW_COMPUTE_PAGE_COUNT', false)) {
if(!$this->listViewCount){
$this->listViewCount = $listViewModel->getListViewCount();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment