mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* Infolog: Add filter by contact to export filters
This commit is contained in:
parent
bc253e0bd7
commit
13842ffb79
@ -490,7 +490,7 @@ var et2_customfields_list = /** @class */ (function (_super) {
|
|||||||
// No label on the widget itself
|
// No label on the widget itself
|
||||||
delete (attrs.label);
|
delete (attrs.label);
|
||||||
attrs.type = "link-entry";
|
attrs.type = "link-entry";
|
||||||
attrs.only_app = field.type;
|
attrs.only_app = typeof field.only_app == "undefined" ? field.type : field.only_app;
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
et2_customfields_list.prototype._setup_filemanager = function (field_name, field, attrs) {
|
et2_customfields_list.prototype._setup_filemanager = function (field_name, field, attrs) {
|
||||||
|
@ -666,7 +666,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
|||||||
delete(attrs.label);
|
delete(attrs.label);
|
||||||
|
|
||||||
attrs.type = "link-entry";
|
attrs.type = "link-entry";
|
||||||
attrs.only_app = field.type;
|
attrs.only_app = typeof field.only_app == "undefined" ? field.type : field.only_app;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -294,6 +294,14 @@ class infolog_export_csv implements importexport_iface_export_plugin
|
|||||||
// Infolog can't handle ranges in custom fields due to the way searching is done.
|
// Infolog can't handle ranges in custom fields due to the way searching is done.
|
||||||
if(strpos($field_name, '#') === 0 && strpos($settings['type'],'date') === 0) unset($filters[$field_name]);
|
if(strpos($field_name, '#') === 0 && strpos($settings['type'],'date') === 0) unset($filters[$field_name]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add in filtering by contact
|
||||||
|
$filters['info_contact'] = array(
|
||||||
|
'name' => 'info_contact',
|
||||||
|
'label' => 'Contact',
|
||||||
|
'type' => 'link-entry',
|
||||||
|
'only_app' => ''
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user