Bugzilla – Attachment 160629 Details for
Bug 35725
Generic master form does not keep patron and cardnumber when changing type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
35725: Keep cardnumber and library data when changing request type
35725-Keep-cardnumber-and-library-data-when-changi.patch (text/plain), 1.50 KB, created by
Pedro Amorim
on 2024-01-08 14:43:48 UTC
(
hide
)
Description:
35725: Keep cardnumber and library data when changing request type
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-01-08 14:43:48 UTC
Size:
1.50 KB
patch
obsolete
>From b81130777760213c357a62887918ece8cce96145 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 8 Jan 2024 14:43:43 +0000 >Subject: [PATCH] 35725: Keep cardnumber and library data when changing request > type > >--- > Koha/ILL/Backend/intra-includes/create.inc | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/Koha/ILL/Backend/intra-includes/create.inc b/Koha/ILL/Backend/intra-includes/create.inc >index 9f60ea6f04..99c6be2d8e 100644 >--- a/Koha/ILL/Backend/intra-includes/create.inc >+++ b/Koha/ILL/Backend/intra-includes/create.inc >@@ -91,14 +91,18 @@ > Card number, username or surname: > </label> > <input type="text" name="cardnumber" id="cardnumber" autocomplete="off" >- type="text" value="" /> >+ type="text" value="[% whole.value.other.cardnumber | html %]" /> > </li> > <li> > <label class="required" for="branchcode">Destination library:</label> > <select id="branchcode" name="branchcode"> > <option value="" /> > [% FOREACH branch IN branches %] >- <option value="[% branch.branchcode | html %]"> >+ [% IF branch.branchcode == whole.value.other.branchcode %] >+ <option value="[% branch.branchcode | html %]" selected="selected"> >+ [% ELSE %] >+ <option value="[% branch.branchcode | html %]"> >+ [% END %] > [% branch.branchname | html %] > </option> > [% END %] >-- >2.30.2
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 35725
:
160629
|
160630
|
160650
|
160661
|
160662
|
172738
|
172739