mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix PUSH new entries did not show if filter had multiple values
(cherry picked from commit 0caabaf516
)
This commit is contained in:
parent
6993d82abf
commit
2c2563eccf
@ -382,12 +382,15 @@ export abstract class EgwApp
|
||||
{
|
||||
let val = value.col_filter[field_filter.col];
|
||||
if(val && (
|
||||
typeof val == "string" && val.trim().length > 0 ||
|
||||
typeof val == "object" && !jQuery.isEmptyObject(val)
|
||||
typeof val == "string" && val.trim().length > 0
|
||||
))
|
||||
{
|
||||
field_filter.filter_values.push(val);
|
||||
}
|
||||
else if (val && typeof val == "object" && !jQuery.isEmptyObject(val))
|
||||
{
|
||||
field_filter.filter_values = field_filter.filter_values.concat(Object.values(val))
|
||||
}
|
||||
}
|
||||
|
||||
// check filters against pushData.acl data
|
||||
|
Loading…
Reference in New Issue
Block a user