Bugzilla – Attachment 94644 Details for
Bug 23863
Editing a basket clears create_items value
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23863: Editing a basket clears create_items value
Bug-23863-Editing-a-basket-clears-createitems-valu.patch (text/plain), 2.15 KB, created by
Katrin Fischer
on 2019-10-24 06:14:40 UTC
(
hide
)
Description:
Bug 23863: Editing a basket clears create_items value
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-10-24 06:14:40 UTC
Size:
2.15 KB
patch
obsolete
>From da4f2e86515b28843c1f78a5930f372544525058 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 22 Oct 2019 14:07:46 -0400 >Subject: [PATCH] Bug 23863: Editing a basket clears create_items value > >Test Plan: >1) Create a basket with a non-default value for aqbasket.create_items >2) Click Edit from basket.pl >3) Click Save without changing anything >4) Note that aqbasket.create_items is no longer set >5) Apply this patch >6) Restart all the things! >7) Repeat steps 1-3 >8) Note create_items is unchanged! > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > acqui/basketheader.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt | 4 +++- > 2 files changed, 4 insertions(+), 1 deletion(-) > >diff --git a/acqui/basketheader.pl b/acqui/basketheader.pl >index 202f6b9079..0eb479ff20 100755 >--- a/acqui/basketheader.pl >+++ b/acqui/basketheader.pl >@@ -131,6 +131,7 @@ if ( $op eq 'add_form' ) { > basketno => $basketno, > booksellers => \@booksellers, > is_standing => $basket->{is_standing}, >+ create_items => $basket->{create_items}, > ); > > my $billingplace = $basket->{'billingplace'} || C4::Context->userenv->{"branch"}; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt >index f6a89c7dd7..4b87af45bb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt >@@ -110,7 +110,9 @@ > [% END %] > <div class="hint">Standing orders do not close when received.</div> > </li> >- [% UNLESS basketno %] >+ [% IF basketno %] >+ <input type="hidden" name="create_items" value="[% create_items %]" /> >+ [% ELSE %] > <li> > <label for="create_items">Create items when:</label> > <select name="create_items" id="create_items"> >-- >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 23863
:
94586
|
94597
| 94644 |
94645