mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fixing of an orgview bug: orgview was extremly sticky, after you selected an org member for e.g. infolog view
This commit is contained in:
parent
2b0d9f5b43
commit
30b683cf5a
@ -332,6 +332,13 @@ class addressbook_ui extends addressbook_bo
|
||||
$org_name = implode(': ',$org_name);
|
||||
$sel_options['org_view'][(string) $content['nm']['org_view']] = $org_name;
|
||||
}
|
||||
// unset the filters regarding organisations, when there is no organisation selected
|
||||
if (empty($sel_options['org_view'][(string) $content['nm']['org_view']]) || stripos($org_view,":") === false )
|
||||
{
|
||||
unset($content['nm']['col_filter']['org_name']);
|
||||
unset($content['nm']['col_filter']['org_unit']);
|
||||
unset($content['nm']['col_filter']['adr_one_locality']);
|
||||
}
|
||||
$content['nm']['org_view_label'] = $sel_options['org_view'][(string) $content['nm']['org_view']];
|
||||
|
||||
$this->tmpl->read(/*$do_email ? 'addressbook.email' :*/ 'addressbook.index');
|
||||
|
Loading…
Reference in New Issue
Block a user