mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°1520 : URP_Profiles now has a default search criteria
SVN:trunk[5897]
This commit is contained in:
@@ -77,6 +77,9 @@ class URP_Profiles extends UserRightsBaseClassGUI
|
||||
// Search criteria
|
||||
MetaModel::Init_SetZListItems('standard_search', array('name')); // Criteria of the std search form
|
||||
MetaModel::Init_SetZListItems('advanced_search', array('name')); // Criteria of the advanced search form
|
||||
MetaModel::Init_SetZListItems('default_search', array (
|
||||
0 => 'name',
|
||||
));
|
||||
}
|
||||
|
||||
protected static $m_aCacheProfiles = null;
|
||||
|
||||
@@ -99,6 +99,9 @@ class URP_Profiles extends UserRightsBaseClassGUI
|
||||
// Search criteria
|
||||
MetaModel::Init_SetZListItems('standard_search', array('name')); // Criteria of the std search form
|
||||
MetaModel::Init_SetZListItems('advanced_search', array('name')); // Criteria of the advanced search form
|
||||
MetaModel::Init_SetZListItems('default_search', array (
|
||||
0 => 'name',
|
||||
));
|
||||
}
|
||||
|
||||
protected $m_bCheckReservedNames = true;
|
||||
|
||||
@@ -80,6 +80,9 @@ class URP_Profiles extends UserRightsBaseClass
|
||||
// Search criteria
|
||||
MetaModel::Init_SetZListItems('standard_search', array('name')); // Criteria of the std search form
|
||||
MetaModel::Init_SetZListItems('advanced_search', array('name')); // Criteria of the advanced search form
|
||||
MetaModel::Init_SetZListItems('default_search', array (
|
||||
0 => 'name',
|
||||
));
|
||||
}
|
||||
|
||||
function GetGrantAsHtml($oUserRights, $sClass, $sAction)
|
||||
|
||||
Reference in New Issue
Block a user