From f4973d5aa915f12aba47df3d7df3ded16a61b27f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Mon, 29 Apr 2013 22:02:40 +0200 Subject: [PATCH] Holidays log now shows recent changes first --- htdocs/holiday/view_log.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/holiday/view_log.php b/htdocs/holiday/view_log.php index ebe5263b8d3..0e77e574513 100644 --- a/htdocs/holiday/view_log.php +++ b/htdocs/holiday/view_log.php @@ -43,7 +43,8 @@ llxHeader(array(),$langs->trans('CPTitreMenu')); $cp = new Holiday($db); -$log_holiday = $cp->fetchLog('',''); +//Recent changes are more important than old changes +$log_holiday = $cp->fetchLog('ORDER BY cpl.rowid DESC',''); print_fiche_titre($langs->trans('LogCP'));