Bugzilla – Attachment 49266 Details for
Bug 16047
Software error on deleting a group with no category code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 16047: Making category code a required field on creating a group
SIGNED-OFF-Bug-16047-Making-category-code-a-requir.patch (text/plain), 1.77 KB, created by
Owen Leonard
on 2016-03-17 13:16:02 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16047: Making category code a required field on creating a group
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-03-17 13:16:02 UTC
Size:
1.77 KB
patch
obsolete
>From 936fac2486adeda475494d3622d22ccac2bf2cd5 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 10 Mar 2016 21:49:57 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 16047: Making category code a required field > on creating a group >Content-Type: text/plain; charset="utf-8" > >This will prevent users from creating a group without a category code, >which causes a software error when you try to delete it > >To test: >1) Go to Admin -> Libraries and groups >2) Create new group without category code >3) Attempt to delete the group you just created and notice software > error >4) Apply patch >5) Create new group without category code >6) Notice you now cannot save the group without putting in a category > code > >Sponsored-by: Catalyst IT >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index 8c66bed..097cac5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -343,7 +343,8 @@ tinyMCE.init({ > [% category.categorycode %] > [% ELSE %] > <label for="categorycode">Category code:</label> >- <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" /> >+ <input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" class="required" required="required" /> >+ <span class="required">Required</span> > [% END %] > </li> > <li> >-- >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 16047
:
48978
|
49266
|
49267
|
49268
|
49348
|
49349