Bugzilla – Attachment 183346 Details for
Bug 28495
Add validation to branchcode upon library creation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28495: Add hint to branchcode input
Bug-28495-Add-hint-to-branchcode-input.patch (text/plain), 1.58 KB, created by
Owen Leonard
on 2025-06-18 17:51:55 UTC
(
hide
)
Description:
Bug 28495: Add hint to branchcode input
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-06-18 17:51:55 UTC
Size:
1.58 KB
patch
obsolete
>From c88ff4616e9f228cfe5444968d643964f01134e6 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 18 Jun 2025 15:23:43 +0000 >Subject: [PATCH] Bug 28495: Add hint to branchcode input > >This patch adds a hint to the library creation form warning the user >about what characters are valid in the "Library code" field. > >To test, apply the patch and go to Administration -> Libraries -> New >library. Under the "Library code" input you should see a hint, "Note: >Whitespace is not permitted. The use of hyphens, dashes, or other >punctuation may cause searching issues." > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 1 + > 1 file changed, 1 insertion(+) > >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 4098f59c3d4..e8e42726d02 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -147,6 +147,7 @@ > <input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required focus" required="required" /> > </div> > <div class="required">Required</div> >+ <div class="hint">Note: Whitespace is not permitted. The use of hyphens, dashes, or other punctuation may cause searching issues.</div> > [% END %] > </div> > <div class="fg-row"> >-- >2.39.5
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 28495
:
121737
|
121867
|
123318
|
123332
|
123333
|
183340
| 183346