Bugzilla – Attachment 90025 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.69 KB, created by
Biblibre Sandboxes
on 2019-05-23 11:13:53 UTC
(
hide
)
Description:
Bug 22630: Fix homebranch select's value in course item edit page
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2019-05-23 11:13:53 UTC
Size:
1.69 KB
patch
obsolete
>From 0667b5d05b74e2053bd7586cba1115365d725c3a 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 > >Signed-off-by: SONIA BOUIS <sonia.bouis@univ-lyon3.fr> >--- > .../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 b59af81..0aa56a0 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.7.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 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