From b18df4e322457c13df7a2e2da7e04cd4344d4485 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Wed, 21 Jan 2015 13:22:37 +0100 Subject: [PATCH] FiBu Quicksearch - richtig sortieren MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Nach Feld transdate statt nach transdate_sort zeitlich sortieren, das Feld gab es mal in einer früheren Entwicklungsversion. --- SL/Controller/GL.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/GL.pm b/SL/Controller/GL.pm index ce3799de2..683d6a288 100644 --- a/SL/Controller/GL.pm +++ b/SL/Controller/GL.pm @@ -95,7 +95,7 @@ sub action_quicksearch { push(@{$data},@{$ardata}); push(@{$data},@{$apdata}); - @$data = reverse sort { $a->{'transdate_sort'} cmp $b->{'transdate_sort'} } @$data; + @$data = reverse sort { $a->{'transdate'} cmp $b->{'transdate'} } @$data; $self->render(\SL::JSON::to_json($data), { layout => 0, type => 'json' }); } -- 2.20.1