Explorar o código

The "Preferences" pages now allows a user to:
- change her/his favorite language
- set a global default for the length of all lists, overriding the system-wide configuration.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2136 a333f486-631f-4898-b8df-5754b55c2be0

dflaven %!s(int64=13) %!d(string=hai) anos
pai
achega
6cd747600e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/bulkchange.class.inc.php

+ 1 - 1
core/bulkchange.class.inc.php

@@ -914,7 +914,7 @@ class BulkChange
 			$bLimitExceeded = true;
 			if (!$bShowAll)
 			{
-				$iMaxObjects = MetaModel::GetConfig()->GetMinDisplayLimit();
+				$iMaxObjects = appUserPreferences::GetPref('default_page_size', MetaModel::GetConfig()->GetMinDisplayLimit());
 				$oBulkChanges->SetLimit($iMaxObjects);
 			}
 		}