Bugzilla – Attachment 17799 Details for
Bug 10053
borrowers.branchcode cannot be null
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10053: borrowers.branchcode cannot be null
Bug-10053-borrowersbranchcode-cannot-be-null.patch (text/plain), 1.57 KB, created by
Marcel de Rooy
on 2013-04-29 15:44:48 UTC
(
hide
)
Description:
Bug 10053: borrowers.branchcode cannot be null
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-04-29 15:44:48 UTC
Size:
1.57 KB
patch
obsolete
>From d82718db61ad7109a0f5cd6ac94942fc244938ab Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 15 Apr 2013 14:27:46 +0200 >Subject: [PATCH] Bug 10053: borrowers.branchcode cannot be null >Content-Type: text/plain; charset=utf-8 > >The DB field borrowers.branchcode cannot be null (`branchcode` >varchar(10) NOT NULL default ''). However, an empty value can be selected >on creating/updating a patron. > >Test plan: >- Add or edit a patron and choose the empty value for library >(branchcode). >- Save (pref BorrowerMandatoryField must not contain branchcode). >- Mysql raises an error. >- Apply the path. >- Check that you are not able to select no library. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../prog/en/modules/members/memberentrygen.tt | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 3843c56..0098c09 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -996,7 +996,6 @@ > [%- END -%] > Library:</label> > <select name="branchcode" size="1" id="branchcode"> >- <option value=""></option> > [%- FOREACH branchloo IN branchloop %] > [% IF ( branchloo.selected ) -%] > <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option> >-- >1.7.7.6
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 10053
:
17450
|
17486
| 17799