Bugzilla – Attachment 98775 Details for
Bug 22880
Convert opacheader system preference to news block
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22880: Convert opacheader system preference to news block
Bug-24366-Improve-hashref-construction.patch (text/plain), 928 bytes, created by
Lisette Scheer
on 2020-02-12 19:57:16 UTC
(
hide
)
Description:
Bug 22880: Convert opacheader system preference to news block
Filename:
MIME Type:
Creator:
Lisette Scheer
Created:
2020-02-12 19:57:16 UTC
Size:
928 bytes
patch
obsolete
>From 52bb48ab4500a5bf507e0a3083710dfeeec52f4b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 13 Jan 2020 15:16:20 +0100 >Subject: [PATCH] Bug 24366: Improve hashref construction > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Biblio.pm | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > >diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm >index 5efc462e03..e503bad718 100644 >--- a/Koha/Biblio.pm >+++ b/Koha/Biblio.pm >@@ -740,11 +740,7 @@ sub to_api { > my $response = $self->SUPER::to_api( $args ); > my $biblioitem = $self->biblioitem->to_api( $args ); > >- foreach my $key ( keys %{ $biblioitem } ) { >- $response->{$key} = $biblioitem->{$key}; >- } >- >- return $response; >+ return { %$response, %$biblioitem }; > } > > =head3 to_api_mapping >-- >2.11.0
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 22880
:
89517
|
90495
|
92207
|
92208
|
92592
|
92593
|
92594
|
92600
|
92601
|
92602
|
96209
|
96210
|
96219
|
98773
|
98775
|
98985
|
98986
|
98987
|
98988
|
98989
|
99362
|
99363
|
99364
|
99365
|
99366
|
99367
|
99490
|
99491
|
99492
|
99493
|
99494
|
99495
|
99496
|
99497
|
99498