From 2b8826c6ada42112f7c1608a82a1c193e88fd084 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 23 Jan 2013 18:03:00 +0000 Subject: [PATCH] Fix export 'Use search results' --- resources/inc/class.resources_export_csv.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/inc/class.resources_export_csv.inc.php b/resources/inc/class.resources_export_csv.inc.php index 49f0b69d7d..cb63c48bbd 100644 --- a/resources/inc/class.resources_export_csv.inc.php +++ b/resources/inc/class.resources_export_csv.inc.php @@ -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' ); }