mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
merge startdate and enddate to activeFilters. if set
This commit is contained in:
parent
bb22925e3e
commit
5f7eab435b
@ -2109,7 +2109,11 @@ app.classes.mail = AppJS.extend(
|
||||
var obj_manager = egw_getObjectManager(this.appname).getObjectById(this.nm_index);
|
||||
if (obj_manager && obj_manager.manager && obj_manager.manager.data && obj_manager.manager.data.nextmatch && obj_manager.manager.data.nextmatch.activeFilters)
|
||||
{
|
||||
return obj_manager.manager.data.nextmatch.activeFilters;
|
||||
var af = obj_manager.manager.data.nextmatch.activeFilters;
|
||||
// merge startdate and enddate into the active filters (if set)
|
||||
if (this.et2.getWidgetById('startdate') && this.et2.getWidgetById('startdate').get_value()) af["startdate"] = this.et2.getWidgetById('startdate').date;
|
||||
if (this.et2.getWidgetById('enddate') && this.et2.getWidgetById('enddate').get_value()) af["enddate"] = this.et2.getWidgetById('enddate').date;
|
||||
return af;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user