Bugzilla – Attachment 17450 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.42 KB, created by
Jonathan Druart
on 2013-04-15 12:31:47 UTC
(
hide
)
Description:
Bug 10053: borrowers.branchcode cannot be null
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-04-15 12:31:47 UTC
Size:
1.42 KB
patch
obsolete
>From cb7c576af5f6b942ed9d539513cded924fcf548f 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 > >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. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 1 - > 1 file changed, 1 deletion(-) > >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.10.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 10053
:
17450
|
17486
|
17799