Bugzilla – Attachment 54176 Details for
Bug 16996
Template process failed: undef error - Can't call method "description"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16996: (follow-up) Do not explode if mandatory fields are missing
Bug-16996-follow-up-Do-not-explode-if-mandatory-fi.patch (text/plain), 1.44 KB, created by
Marc Véron
on 2016-08-08 16:19:19 UTC
(
hide
)
Description:
Bug 16996: (follow-up) Do not explode if mandatory fields are missing
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-08-08 16:19:19 UTC
Size:
1.44 KB
patch
obsolete
>From 2ca81458d4a3536aee9986f43e15d423d214a126 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 8 Aug 2016 15:11:56 +0100 >Subject: [PATCH] Bug 16996: (follow-up) Do not explode if mandatory fields are > missing > >When registering a new patron, if something went wrong, the form is >resent to the template but without the categorycode (not a dropdown list >anymore, but just displayed as a readonly value # TODO LATER). > >Signed-off-by: Marc <veron@veron.ch> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >index 574a5fd..ce9393d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt >@@ -171,6 +171,7 @@ > > [% IF borrower %] > [% Categories.GetName( borrower.categorycode ) %] >+ <input type="hidden" name="borrower_categorycode" value="[% borrower.categorycode %]" /> > [% ELSE %] > <select id="borrower_categorycode" name="borrower_categorycode"> > [% FOREACH c IN Categories.all() %] >-- >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 16996
:
53959
|
54011
|
54148
|
54167
|
54175
|
54176
|
54396
|
54397
|
54947