mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
* Infolog: Fix exporting search results failed if a contact filter was used
This commit is contained in:
parent
6525361145
commit
9b5c1d20ba
@ -90,12 +90,13 @@ class infolog_export_csv implements importexport_iface_export_plugin
|
|||||||
}
|
}
|
||||||
$query['num_rows'] = 500;
|
$query['num_rows'] = 500;
|
||||||
$query['start'] = 0;
|
$query['start'] = 0;
|
||||||
if ($query['col_filter']['info_contact'])
|
if ($query['col_filter']['info_contact'] || $query['col_filter']['linked'])
|
||||||
{
|
{
|
||||||
$ui = new infolog_ui();
|
$ui = new infolog_ui();
|
||||||
$link_filters['linked'] = $query['col_filter']['info_contact'];
|
$link_filters['linked'] = $query['col_filter']['info_contact'] ?: $query['col_filter']['linked'];
|
||||||
$links['linked'] = array();
|
$links['linked'] = array();
|
||||||
unset($query['col_filter']['info_contact']);
|
unset($query['col_filter']['info_contact']);
|
||||||
|
unset($query['col_filter']['linked']);
|
||||||
$rows = array();
|
$rows = array();
|
||||||
$linked = $ui->link_filters($links, $link_filters, $query, $rows);
|
$linked = $ui->link_filters($links, $link_filters, $query, $rows);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user