Fix export 'Use search results'

This commit is contained in:
Nathan Gray 2013-01-23 18:03:00 +00:00
parent 3eabe83d8e
commit 2b8826c6ad

View File

@ -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'
);
}