Bugzilla – Attachment 194890 Details for
Bug 20956
BorrowersLog is not logging permission changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20956: (QA follow-up) Restore info pretty
Bug-20956-QA-follow-up-Restore-info-pretty.patch (text/plain), 1.31 KB, created by
David Nind
on 2026-03-06 18:39:58 UTC
(
hide
)
Description:
Bug 20956: (QA follow-up) Restore info pretty
Filename:
MIME Type:
Creator:
David Nind
Created:
2026-03-06 18:39:58 UTC
Size:
1.31 KB
patch
obsolete
>From c99e171104bbb31170249b1164afc2d4773025d1 Mon Sep 17 00:00:00 2001 >From: Lisette Scheer <lisette@bywatersolutions.com> >Date: Fri, 6 Mar 2026 18:05:08 +0000 >Subject: [PATCH] Bug 20956: (QA follow-up) Restore info pretty > >I restored the pretty code for the info file because the page needs to be able to wrap, like it does for other logs. > >Signed-off-by: David Nind <david@davidnind.com> >--- > tools/viewlog.pl | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/tools/viewlog.pl b/tools/viewlog.pl >index 2ea2feb359..d3de818f5a 100755 >--- a/tools/viewlog.pl >+++ b/tools/viewlog.pl >@@ -234,6 +234,17 @@ if ($do_it) { > } > } > } >+ if ( $result->{module} eq 'MEMBERS' ) { >+ my $json_engine = JSON->new->utf8->canonical(1)->pretty(1); >+ if ( $result->{info} && $result->{info} =~ /^[{\[]/ ) { >+ my $perl_info = $json_engine->decode( $result->{info} ); >+ $result->{info} = $json_engine->encode($perl_info); >+ } >+ if ( $result->{diff} && $result->{diff} =~ /^[{\[]/ ) { >+ my $perl_diff = $json_engine->decode( $result->{diff} ); >+ $result->{diff} = $json_engine->encode($perl_diff); >+ } >+ } > push @data, $result; > } > if ( $output eq "screen" ) { >-- >2.39.5
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 20956
:
182955
|
185483
|
185491
|
186388
|
187592
|
187593
|
187594
|
188260
|
188261
|
188262
|
188263
|
190686
|
190687
|
190688
|
190689
|
190690
|
191472
|
191473
|
191474
|
191475
|
191476
|
191477
|
191478
|
192506
|
192507
|
192508
|
192509
|
192510
|
192511
|
192512
|
192604
|
192605
|
192606
|
192607
|
192608
|
192609
|
192610
|
194527
|
194528
|
194529
|
194530
|
194531
|
194532
|
194533
|
194534
|
194612
|
194865
|
194866
|
194867
|
194868
|
194869
|
194870
|
194871
|
194882
|
194883
|
194884
|
194885
|
194886
|
194887
|
194888
|
194889
|
194890
|
194892
|
194893
|
194894
|
194895
|
194896
|
194897
|
194898
|
194899