mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix export 'Use search results'
This commit is contained in:
parent
3eabe83d8e
commit
2b8826c6ad
@ -32,7 +32,7 @@ class resources_export_csv implements importexport_iface_export_plugin {
|
|||||||
$options = $_definition->plugin_options;
|
$options = $_definition->plugin_options;
|
||||||
|
|
||||||
$selection = array();
|
$selection = array();
|
||||||
if ($options['selection'] == 'selected') {
|
if ($options['selection'] == 'search') {
|
||||||
// ui selection with checkbox 'selected'
|
// ui selection with checkbox 'selected'
|
||||||
$query = egw_cache::getSession('resources', 'get_rows');
|
$query = egw_cache::getSession('resources', 'get_rows');
|
||||||
$query['num_rows'] = -1; // all
|
$query['num_rows'] = -1; // all
|
||||||
@ -160,7 +160,6 @@ class resources_export_csv implements importexport_iface_export_plugin {
|
|||||||
public function get_selectors_etpl() {
|
public function get_selectors_etpl() {
|
||||||
return array(
|
return array(
|
||||||
'name' => 'importexport.export_csv_selectors',
|
'name' => 'importexport.export_csv_selectors',
|
||||||
'content' => 'selected'
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user