Bugzilla – Attachment 84310 Details for
Bug 7614
Use branch transfer limits for determining available opac holds pickup locations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7614 [QA Follow-up]: Tidy code to remove tab characters
Bug-7614-QA-Follow-up-Tidy-code-to-remove-tab-char.patch (text/plain), 1.70 KB, created by
Kyle M Hall (khall)
on 2019-01-22 19:08:07 UTC
(
hide
)
Description:
Bug 7614 [QA Follow-up]: Tidy code to remove tab characters
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-01-22 19:08:07 UTC
Size:
1.70 KB
patch
obsolete
>From 5c457e5e013e6f629d5bbd71dfb26d40554aafd3 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 22 Jan 2019 13:50:39 -0500 >Subject: [PATCH] Bug 7614 [QA Follow-up]: Tidy code to remove tab characters > >--- > C4/Items.pm | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 1addacc4d1..d164d06e6e 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -220,14 +220,14 @@ sub AddItemFromMarc { > my $dbh = C4::Context->dbh; > > # parse item hash from MARC >- my $frameworkcode = C4::Biblio::GetFrameworkCode( $biblionumber ); >- my ($itemtag,$itemsubfield)=C4::Biblio::GetMarcFromKohaField("items.itemnumber",$frameworkcode); >- >- my $localitemmarc=MARC::Record->new; >- $localitemmarc->append_fields($source_item_marc->field($itemtag)); >- my $item = C4::Biblio::TransformMarcToKoha( $localitemmarc, $frameworkcode ,'items'); >- my $unlinked_item_subfields = _get_unlinked_item_subfields($localitemmarc, $frameworkcode); >- return AddItem($item, $biblionumber, $dbh, $frameworkcode, $unlinked_item_subfields); >+ my $frameworkcode = C4::Biblio::GetFrameworkCode($biblionumber); >+ my ( $itemtag, $itemsubfield ) = C4::Biblio::GetMarcFromKohaField( "items.itemnumber", $frameworkcode ); >+ >+ my $localitemmarc = MARC::Record->new; >+ $localitemmarc->append_fields( $source_item_marc->field($itemtag) ); >+ my $item = C4::Biblio::TransformMarcToKoha( $localitemmarc, $frameworkcode, 'items' ); >+ my $unlinked_item_subfields = _get_unlinked_item_subfields( $localitemmarc, $frameworkcode ); >+ return AddItem( $item, $biblionumber, $dbh, $frameworkcode, $unlinked_item_subfields ); > } > > =head2 AddItem >-- >2.17.2 (Apple Git-113)
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 7614
:
60141
|
60142
|
60143
|
60144
|
60145
|
60785
|
60786
|
60787
|
60938
|
60946
|
70047
|
77895
|
77896
|
77897
|
77898
|
77899
|
77900
|
78020
|
84295
|
84296
|
84297
|
84298
|
84299
|
84300
|
84301
|
84302
|
84303
|
84304
|
84305
|
84306
|
84307
|
84308
|
84309
| 84310 |
84311