From 561d4521aa9148dc3523f297afdfea53b263b48d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 14 Oct 2015 11:37:02 +0200 Subject: [PATCH] GDPDU: Maps nicht innerhalb von AlphaNumeric, sondern danach. --- SL/GDPDU.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SL/GDPDU.pm b/SL/GDPDU.pm index 7ba9b7425..0877d4480 100644 --- a/SL/GDPDU.pm +++ b/SL/GDPDU.pm @@ -73,7 +73,8 @@ my %column_types = ( 'Rose::DB::Object::Metadata::Column::Date' => sub { $_[0]->tag('Date', sub { $_[0]->tag('Format', $date_format) }) }, 'Rose::DB::Object::Metadata::Column::Timestamp' => sub { $_[0]->tag('Date', sub { $_[0]->tag('Format', $date_format) }) }, 'Rose::DB::Object::Metadata::Column::Float' => sub { $_[0]->tag('Numeric') }, - 'Rose::DB::Object::Metadata::Column::Boolean' => sub { $_[0]->tag('AlphaNumeric', sub { $_[0] + 'Rose::DB::Object::Metadata::Column::Boolean' => sub { $_[0] + ->tag('AlphaNumeric') ->tag('Map', sub { $_[0] ->tag('From', 1) ->tag('To', t8('true')) @@ -83,10 +84,10 @@ my %column_types = ( ->tag('To', t8('false')) }) ->tag('Map', sub { $_[0] - ->tag('From', 0) + ->tag('From', '') ->tag('To', t8('false')) }) - }) }, + }, ); sub generate_export { -- 2.20.1