diff --git a/layouts/v7/modules/Vtiger/PopupContents.tpl b/layouts/v7/modules/Vtiger/PopupContents.tpl index 2b861b3fa0cbffd61e0dafd6bcdb650076ac54ff..fc7379c7737d25c6eb55fdc0b4bd4395faf45523 100644 --- a/layouts/v7/modules/Vtiger/PopupContents.tpl +++ b/layouts/v7/modules/Vtiger/PopupContents.tpl @@ -20,7 +20,7 @@ <input type="hidden" id="pageEndRange" value="{$PAGING_MODEL->getRecordEndRange()}" /> <input type="hidden" id="previousPageExist" value="{$PAGING_MODEL->isPrevPageExists()}" /> <input type="hidden" id="nextPageExist" value="{$PAGING_MODEL->isNextPageExists()}" /> - <input type="hidden" id="totalCount" value="{$LISTVIEW_COUNT}" /> + <input type="hidden" id="totalCount" value="{$LISTVIEW_ENTRIES_COUNT}" /> {if $GETURL}<input type="hidden" id="getUrl" value="{$GETURL}" />{/if} <input type="hidden" value="{Vtiger_Util_Helper::toSafeHTML(Zend_JSON::encode($SEARCH_DETAILS))}" id="currentSearchParams" /> <div class="contents-topscroll"> diff --git a/modules/Vtiger/views/Popup.php b/modules/Vtiger/views/Popup.php index ae275249ebf6def7ad4451fcbc30cfc3e0e5fe94..e2e5569b2f67c39cb10521b69cdf592c56ae9079 100644 --- a/modules/Vtiger/views/Popup.php +++ b/modules/Vtiger/views/Popup.php @@ -397,4 +397,4 @@ class Vtiger_Popup_View extends Vtiger_Footer_View { return Vtiger_Util_Helper::transferListSearchParamsToFilterCondition($listSearchParams, $moduleModel); } -} \ No newline at end of file +}