mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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;
|
||||
|
||||
$selection = array();
|
||||
if ($options['selection'] == 'selected') {
|
||||
if ($options['selection'] == 'search') {
|
||||
// ui selection with checkbox 'selected'
|
||||
$query = egw_cache::getSession('resources', 'get_rows');
|
||||
$query['num_rows'] = -1; // all
|
||||
@ -160,7 +160,6 @@ class resources_export_csv implements importexport_iface_export_plugin {
|
||||
public function get_selectors_etpl() {
|
||||
return array(
|
||||
'name' => 'importexport.export_csv_selectors',
|
||||
'content' => 'selected'
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user