change mapping_list return for exporters
This commit is contained in:
parent
9b084279e2
commit
64558dd01c
|
@ -742,7 +742,7 @@ class Exporter extends CommunImportExport {
|
||||||
if($method == 'any') {
|
if($method == 'any') {
|
||||||
$Tainacan_Exposers = \Tainacan\Mappers_Handler::get_instance();
|
$Tainacan_Exposers = \Tainacan\Mappers_Handler::get_instance();
|
||||||
$metadatum_mappers = $Tainacan_Exposers->get_mappers();
|
$metadatum_mappers = $Tainacan_Exposers->get_mappers();
|
||||||
$this->mapping_list = $metadatum_mappers;
|
$this->mapping_list = array_keys($metadatum_mappers);
|
||||||
} else if(!empty($list)) {
|
} else if(!empty($list)) {
|
||||||
$this->mapping_list = $list;
|
$this->mapping_list = $list;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue