From 74bb985acc52a4244cad68df32cb1c8a735c64da Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Wed, 5 Apr 2017 07:48:11 +0200 Subject: [PATCH] FiBu-Schnellsuche - Datumssortierung (neu zuerst) --- SL/Controller/TopQuickSearch/GLTransaction.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/Controller/TopQuickSearch/GLTransaction.pm b/SL/Controller/TopQuickSearch/GLTransaction.pm index ebdcee895..53d05ea42 100644 --- a/SL/Controller/TopQuickSearch/GLTransaction.pm +++ b/SL/Controller/TopQuickSearch/GLTransaction.pm @@ -49,7 +49,7 @@ sub query_autocomplete { map( { { - transdate => $_->transdate->to_kivitendo, + transdate => $_->transdate->ymd(''), # only used for sorting label => $_->oneline_summary, value => '', id => 'gl.pl?action=edit&id=' . $_->id, @@ -63,7 +63,7 @@ sub query_autocomplete { map( { { - transdate => $_->transdate->to_kivitendo, + transdate => $_->transdate->ymd(''), label => $_->oneline_summary, value => "", id => ($_->invoice ? "is" : "ar" ) . '.pl?action=edit&id=' . $_->id, @@ -77,7 +77,7 @@ sub query_autocomplete { map( { { - transdate => $_->transdate->to_kivitendo, + transdate => $_->transdate->ymd(''), label => $_->oneline_summary, value => "", id => ($_->invoice ? "ir" : "ap" ) . '.pl?action=edit&id=' . $_->id, -- 2.20.1