From 0aef653a321d8387d164dbc6092d8721711b22f2 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 3 Jun 2015 17:16:26 +0200 Subject: [PATCH] =?utf8?q?SL::DB::Helper::TransNumberGenerator:=20alle=20b?= =?utf8?q?eteiligten=20Spalten=20auff=C3=BChren?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/TransNumberGenerator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Helper/TransNumberGenerator.pm b/SL/DB/Helper/TransNumberGenerator.pm index c9ed09fc0..9c657293b 100644 --- a/SL/DB/Helper/TransNumberGenerator.pm +++ b/SL/DB/Helper/TransNumberGenerator.pm @@ -86,7 +86,7 @@ sub get_next_trans_number { dbh => $self->db->dbh, select => $number_column, tables => [ $self->meta->table ], - columns => { $self->meta->table => [ $number_column ] }, + columns => { $self->meta->table => [ $self->meta->column_names ] }, query_is_sql => 1, %conditions_for_in_use, ); -- 2.20.1