Bugzilla – Attachment 89743 Details for
Bug 22630
Add ability to change the homebranch in course reserves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22630: Fix homebranch select's value in course item edit page
Bug-22630-Fix-homebranch-selects-value-in-course-i.patch (text/plain), 1.63 KB, created by
Julian Maurice
on 2019-05-14 13:03:50 UTC
(
hide
)
Description:
Bug 22630: Fix homebranch select's value in course item edit page
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2019-05-14 13:03:50 UTC
Size:
1.63 KB
patch
obsolete
>From 436f5fefc4ee0d88c2106995f4caab742954cd23 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 14 May 2019 14:53:54 +0200 >Subject: [PATCH] Bug 22630: Fix homebranch select's value in course item edit > page > >--- > .../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 b59af815dd..0aa56a0166 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 >@@ -88,7 +88,7 @@ > <select id="homebranch" name="homebranch"> > <option value="">LEAVE UNCHANGED</option> > [% FOREACH b IN Branches.all() %] >- [% IF course_item.homebranch.defined && ( ( course.enabled == 'yes' && b.value == item.homebranch ) || ( course.enabled == 'no' && b.value == course_item.homebranch ) ) %] >+ [% IF course_item.homebranch.defined && ( ( course.enabled == 'yes' && b.branchcode == item.homebranch ) || ( course.enabled == 'no' && b.branchcode == course_item.homebranch ) ) %] > <option value="[% b.branchcode | html %]" selected="selected">[% b.branchname | html %]</option> > [% ELSE %] > <option value="[% b.branchcode | html %]">[% b.branchname | html %]</option> >-- >2.20.1
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 22630
:
87355
|
87369
|
89037
|
89741
|
89742
|
89743
|
90023
|
90024
|
90025
|
90026
|
90027
|
90028
|
91177
|
91178
|
91179
|
91180
|
91575
|
91576
|
91577
|
91578
|
92579
|
92580
|
92603
|
92604
|
103556
|
103634
|
103635
|
103733
|
103734
|
103735
|
103736
|
105324