From 2d528efc6989f7b1ca45a6bb13b03ac2a2920b6c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 12 Nov 2021 10:29:04 +0000 Subject: [PATCH] Bug 28692: (QA follow-up) Sort hash keys of unblessed Trivial add. Reads much better. And might help future diffs. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- C4/Log.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Log.pm b/C4/Log.pm index 4fc7878271..3f1255b25e 100644 --- a/C4/Log.pm +++ b/C4/Log.pm @@ -79,6 +79,7 @@ sub logaction { if ( ref($infos) && ref($infos) !~ /HASH|ARRAY/ && $infos->isa('Koha::Object') ) { $infos = $infos->get_from_storage if $infos->in_storage; + local $Data::Dumper::Sortkeys = 1; $infos = Dumper( $infos->unblessed ); if ( $infos->isa('Koha::Item') && $modulename eq 'CATALOGUING' && $actionname eq 'MODIFY' ) { -- 2.39.5