mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
Add resource categories to owner / participant search results
In the sidebox menu, resource categories are returned and selectable and will show events for all resources in that category. In the edit popup, if the category name matches the search string, all resources of that category are returned and user can select them as if they would have searched for the name of the resource.
This commit is contained in:
@@ -101,7 +101,7 @@ class resources_hooks
|
||||
function calendar_resources($args)
|
||||
{
|
||||
return array(
|
||||
'widget' => 'resources_select',// widget to use for the selection of resources
|
||||
'search' => 'resources_bo::calendar_search',// method to use for the selection of resources, otherwise Link system is used
|
||||
'info' => 'resources.resources_bo.get_calendar_info',// info method, returns array with id, type & name for a given id
|
||||
'max_quantity' => 'useable',// if set, key for max. quantity in array returned by info method
|
||||
'new_status' => 'resources.resources_bo.get_calendar_new_status',// method returning the status for new items, else 'U' is used
|
||||
|
Reference in New Issue
Block a user