Bugzilla – Attachment 72112 Details for
Bug 20282
Wrong attribute in template calls to match holding branch when adding/editing a course reserve item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20282: Match course reserve on holdingbranch
Bug-20282-Match-course-reserve-on-holdingbranch.patch (text/plain), 1.89 KB, created by
Nick Clemens (kidclamp)
on 2018-02-23 11:01:28 UTC
(
hide
)
Description:
Bug 20282: Match course reserve on holdingbranch
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-02-23 11:01:28 UTC
Size:
1.89 KB
patch
obsolete
>From 7d1813e831c9a8356708767386ceb2c8fab676b5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 23 Feb 2018 10:58:27 +0000 >Subject: [PATCH] Bug 20282: Match course reserve on holdingbranch > >To test: >1 - Add a course (Course Reserves) >2 - Add an item to the course >3 - Ensure to change the holding branch for the course reserve >4 - Modify the course item >5 - Note the dropdwn for holding branch is unset >6 - Apply patch >7 - Modify the course item >8 - Dropdown should be correctly populated >--- > .../intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >index 7960ff4..9389d57 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >@@ -84,7 +84,7 @@ > <select id="holdingbranch" name="holdingbranch"> > <option value="">LEAVE UNCHANGED</option> > [% FOREACH b IN Branches.all() %] >- [% IF course_item.holdingbranch && ( ( course.enabled == 'yes' && b.value == item.holdingbranch ) || ( course.enabled == 'no' && b.value == course_item.holdingbranch ) ) %] >+ [% IF course_item.holdingbranch && ( ( course.enabled == 'yes' && b.branchcode == item.holdingbranch ) || ( course.enabled == 'no' && b.branchcode == course_item.holdingbranch ) ) %] > <option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option> > [% ELSE %] > <option value="[% b.branchcode %]">[% b.branchname %]</option> >-- >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 20282
:
72112
|
72620
|
73416