From: G. Richardson Date: Wed, 5 Apr 2017 05:48:11 +0000 (+0200) Subject: FiBu-Schnellsuche - Datumssortierung (neu zuerst) X-Git-Tag: release-3.5.4~1138 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=74bb985acc52a4244cad68df32cb1c8a735c64da;p=kivitendo-erp.git FiBu-Schnellsuche - Datumssortierung (neu zuerst) --- 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,