mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Implement new link hook view_list, to be able to be taken to a list of entries
This commit is contained in:
parent
6df521de8d
commit
08b7ab173e
@ -312,6 +312,7 @@ class addressbook_hooks
|
|||||||
'menuaction' => 'addressbook.addressbook_ui.view'
|
'menuaction' => 'addressbook.addressbook_ui.view'
|
||||||
),
|
),
|
||||||
'view_id' => 'contact_id',
|
'view_id' => 'contact_id',
|
||||||
|
'view_list' => 'addressbook.addressbook_ui.index',
|
||||||
'add' => array(
|
'add' => array(
|
||||||
'menuaction' => 'addressbook.addressbook_ui.edit'
|
'menuaction' => 'addressbook.addressbook_ui.edit'
|
||||||
),
|
),
|
||||||
|
@ -208,6 +208,11 @@ class addressbook_ui extends addressbook_bo
|
|||||||
$content['nm'] = array_merge($content['nm'],$state);
|
$content['nm'] = array_merge($content['nm'],$state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Search parameter passed in
|
||||||
|
if ($_GET['search']) {
|
||||||
|
$content['nm']['search'] = $_GET['search'];
|
||||||
|
}
|
||||||
if (isset($typeselection)) $content['nm']['col_filter']['tid'] = $typeselection;
|
if (isset($typeselection)) $content['nm']['col_filter']['tid'] = $typeselection;
|
||||||
|
|
||||||
if ($this->lists_available())
|
if ($this->lists_available())
|
||||||
|
Loading…
Reference in New Issue
Block a user