Bugzilla – Attachment 54167 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.40 KB, created by
Jonathan Druart
on 2016-08-08 14:14:01 UTC
(
hide
)
Description:
Bug 16996: (follow-up) Do not explode if mandatory fields are missing
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-08 14:14:01 UTC
Size:
1.40 KB
patch
obsolete
>From 80ca75d301aa09901212c32ce2bef3253376e663 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). >--- > 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.8.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 16996
:
53959
|
54011
|
54148
|
54167
|
54175
|
54176
|
54396
|
54397
|
54947