diff --git a/infolog/inc/class.infolog_egw_record.inc.php b/infolog/inc/class.infolog_egw_record.inc.php index 428d0539b3..49c9d704b0 100644 --- a/infolog/inc/class.infolog_egw_record.inc.php +++ b/infolog/inc/class.infolog_egw_record.inc.php @@ -25,7 +25,7 @@ class infolog_egw_record implements importexport_iface_egw_record // Used in conversions static $types = array( 'select-account' => array('info_owner','info_responsible','modifier'), - 'select' => array('info_priority', 'info_type', 'info_status'), + 'select' => array('info_priority', 'info_type', 'info_status','info_pricelist'), 'date-time' => array('info_startdate', 'info_enddate','info_datecompleted', 'info_datemodified','created','last_event','next_event'), 'select-cat' => array('info_cat', 'cat_id'), 'links' => array('info_link_id'), diff --git a/infolog/inc/class.infolog_export_csv.inc.php b/infolog/inc/class.infolog_export_csv.inc.php index ebc032c382..bb9f014139 100644 --- a/infolog/inc/class.infolog_export_csv.inc.php +++ b/infolog/inc/class.infolog_export_csv.inc.php @@ -25,6 +25,7 @@ class infolog_export_csv implements importexport_iface_export_plugin { public function export( $_stream, importexport_definition $_definition) { $options = $_definition->plugin_options; + translation::add_app('infolog'); $bo = new infolog_bo(); $selection = array(); $query = array(); @@ -111,6 +112,7 @@ class infolog_export_csv implements importexport_iface_export_plugin { if(!is_array($selection[$id])) break; $selection[$id]['pm_id'] = current($links); $selection[$id]['project'] = egw_link::title('projectmanager', $selection[$id]['pm_id']); + $this->selects['info_pricelist'] = ExecMethod('projectmanager.projectmanager_pricelist_bo.pricelist',$selection[$id]['pm_id']); } }