Bugzilla – Attachment 127647 Details for
Bug 28692
Reduce DB action_log table size
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28692: (QA follow-up) Sort hash keys of unblessed
Bug-28692-QA-follow-up-Sort-hash-keys-of-unblessed.patch (text/plain), 941 bytes, created by
Marcel de Rooy
on 2021-11-15 13:45:13 UTC
(
hide
)
Description:
Bug 28692: (QA follow-up) Sort hash keys of unblessed
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2021-11-15 13:45:13 UTC
Size:
941 bytes
patch
obsolete
>From 34dcfec2aa9cc6cf7af12e1d7162671b5c23ef7a Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 12 Nov 2021 10:29:04 +0000 >Subject: [PATCH] Bug 28692: (QA follow-up) Sort hash keys of unblessed >Content-Type: text/plain; charset=utf-8 > >Trivial add. Reads much better. And might help future diffs. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28692
:
122683
|
122782
|
125692
|
127289
|
127446
|
127574
|
127575
|
127576
|
127577
|
127630
|
127639
|
127640
|
127641
|
127642
|
127645
|
127646
| 127647 |
127648
|
127649