mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Add extra filters in to list
This commit is contained in:
parent
ab8f7885c9
commit
87a4d6471b
@ -396,6 +396,16 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],
|
||||
// Get current filters
|
||||
this.popup.current_filters = $j.extend({},this.nextmatch.activeFilters);
|
||||
|
||||
// Add in extras
|
||||
for(var extra in this.options.filters)
|
||||
{
|
||||
// Don't overwrite what nm has, chances are nm has more up-to-date value
|
||||
if(typeof this.popup.current_filters == 'undefined')
|
||||
{
|
||||
this.popup.current_filters[extra] = this.nextmatch.options.settings[extra];
|
||||
}
|
||||
}
|
||||
|
||||
// Skip columns for now
|
||||
delete this.popup.current_filters.selcolumns;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user