Bugzilla – Attachment 60211 Details for
Bug 15503
Grab Item Information from Order Files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15503 (QA Followup)
Bug-15503-QA-Followup.patch (text/plain), 3.94 KB, created by
Nick Clemens (kidclamp)
on 2017-02-14 14:56:05 UTC
(
hide
)
Description:
Bug 15503 (QA Followup)
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-02-14 14:56:05 UTC
Size:
3.94 KB
patch
obsolete
>From d6addbeeef6b8627fdc9ef6b79731d15f7e45025 Mon Sep 17 00:00:00 2001 >From: Koha instance kohadev-koha <kohadev-koha@kohadevbox> >Date: Tue, 14 Feb 2017 14:52:10 +0000 >Subject: [PATCH] Bug 15503 (QA Followup) > >Fix tabs >Dereference hash for each >--- > acqui/addorderiso2709.pl | 6 +++--- > .../prog/en/modules/acqui/addorderiso2709.tt | 17 ++++++++--------- > 2 files changed, 11 insertions(+), 12 deletions(-) > >diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl >index b0a74d1..18ba56e 100755 >--- a/acqui/addorderiso2709.pl >+++ b/acqui/addorderiso2709.pl >@@ -243,7 +243,7 @@ if ($op eq ""){ > } > > # Create orderlines from MarcItemFieldsToOrder >- while(my ($budget_id, $infos) = each $budget_hash) { >+ while(my ($budget_id, $infos) = each %$budget_hash) { > if ($budget_id) { > my %orderinfo = ( > biblionumber => $biblionumber, >@@ -391,7 +391,7 @@ if ($op eq ""){ > for (my $qtyloop=1;$qtyloop <= $c_quantity;$qtyloop++) { > my ( $biblionumber, $bibitemnum, $itemnumber ) = AddItemFromMarc( $record, $biblionumber ); > $order->add_item( $itemnumber ); >- } >+ } > } else { > SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' ); > } >@@ -623,7 +623,7 @@ sub import_biblios_list { > locationloop => \@locations, > itypeloop => \@itypes, > ccodeloop => \@ccodes, >- notforloanloop => \@notforloans, >+ notforloanloop => \@notforloans, > ); > batch_info($template, $batch); > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >index 1a11bdc..fe420c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >@@ -370,17 +370,16 @@ > </select> > </li> > >- <li> >- <label for="notforloan_item_[% item.item_id %]">notforloan</label><select id="notforloan_item_[% item.item_id %]" name="notforloan_[% item.biblio_count %]"> >- [% FOREACH n IN notforloanloop %] >- [% IF n.code == item.notforloan %] >- <option value="[% n.code %]" selected="selected">[% n.description %]</option> >- [% ELSE %] >- <option value="[% n.code %]">[% n.description %]</option> >- [% END %] >+ <li><label for="notforloan_item_[% item.item_id %]">notforloan</label><select id="notforloan_item_[% item.item_id %]" name="notforloan_[% item.biblio_count %]"> >+ [% FOREACH n IN notforloanloop %] >+ [% IF n.code == item.notforloan %] >+ <option value="[% n.code %]" selected="selected">[% n.description %]</option> >+ [% ELSE %] >+ <option value="[% n.code %]">[% n.description %]</option> >+ [% END %] > [% END %] > </select> >- </li> >+ </li> > <li><label for="uri_item_[% item.item_id %]">uri</label><input type="text" id="uri_item_[% item.item_id %]" name="uri_[% item.biblio_count %]" value="[% item.uri %]"></li> > <li><label for="copyno_item_[% item.item_id %]">copyno</label><input type="text" id="copyno_item_[% item.item_id %]" name="copyno_[% item.biblio_count %]" value="[% item.copyno %]"></li> > <li><label for="budget_code_item_[% item.item_id %]">budget_code</label><select id="budget_code_item_[% item.item_id %]" name="budget_code_[% item.biblio_count %]"> >-- >2.1.4
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 15503
:
53493
|
54480
|
54660
|
55057
|
55616
|
55617
|
55926
|
55927
|
55928
|
56851
|
56852
|
57123
|
57124
|
57125
|
57715
|
58103
|
58132
|
58164
|
58165
|
58166
|
58376
|
58377
|
59093
|
59097
|
59415
|
59416
|
59417
|
59418
|
59419
|
59420
|
59421
|
59515
|
60025
|
60026
|
60027
|
60028
|
60029
|
60030
|
60031
|
60032
|
60203
|
60204
|
60205
|
60206
|
60207
|
60208
|
60209
|
60210
| 60211