소스 검색

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 13 년 전
부모
커밋
6cd747600e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
 			}
 		}