forked from extern/egroupware
Fix selected categories disappear after searching.
This commit is contained in:
parent
1ce490ebcc
commit
edcb6aef24
@ -2614,6 +2614,8 @@ window.egw_LAB.wait(function() {
|
|||||||
if(!empty($_content))
|
if(!empty($_content))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$_content['cat_id'] = $this->config['cat_tab'] === 'Tree' ? $_content['cat_id_tree'] : $_content['cat_id'];
|
||||||
|
|
||||||
$response = egw_json_response::get();
|
$response = egw_json_response::get();
|
||||||
|
|
||||||
$query = egw_session::appsession('index','addressbook');
|
$query = egw_session::appsession('index','addressbook');
|
||||||
@ -2656,6 +2658,8 @@ window.egw_LAB.wait(function() {
|
|||||||
$sel_options = $readonlys = array();
|
$sel_options = $readonlys = array();
|
||||||
$content = egw_session::appsession('advanced_search','addressbook');
|
$content = egw_session::appsession('advanced_search','addressbook');
|
||||||
$content['n_fn'] = $this->fullname($content);
|
$content['n_fn'] = $this->fullname($content);
|
||||||
|
// Avoid ID conflict with tree & selectboxes
|
||||||
|
$content['cat_id_tree'] = $content['cat_id'];
|
||||||
|
|
||||||
for($i = -23; $i<=23; $i++) $tz[$i] = ($i > 0 ? '+' : '').$i;
|
for($i = -23; $i<=23; $i++) $tz[$i] = ($i > 0 ? '+' : '').$i;
|
||||||
$sel_options['tz'] = $tz + array('' => lang('doesn\'t matter'));
|
$sel_options['tz'] = $tz + array('' => lang('doesn\'t matter'));
|
||||||
|
Loading…
Reference in New Issue
Block a user