Explorar o código

#2515 Use `sys_per_page_search_keyword_single param` in profile search

RomanL %!s(int64=6) %!d(string=hai) anos
pai
achega
adc94fe47b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      template/scripts/BxBaseServiceProfiles.php

+ 1 - 1
template/scripts/BxBaseServiceProfiles.php

@@ -246,7 +246,7 @@ class BxBaseServiceProfiles extends BxDol
         foreach ($aModules as $aModule) {
             if (!BxDolService::call($aModule['name'], 'act_as_profile'))
                 continue;
-            $a = array_merge($a, BxDolService::call($aModule['name'], 'profiles_search', array($sTerm, 10)));
+            $a = array_merge($a, BxDolService::call($aModule['name'], 'profiles_search', array($sTerm, getParam('sys_per_page_search_keyword_single'))));
         }
 
         // sort result