Bugzilla – Attachment 190994 Details for
Bug 28495
Add hint about whitespace usage 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.63 KB, created by
Lucas Gass (lukeg)
on 2026-01-07 15:49:06 UTC
(
hide
)
Description:
Bug 28495: Add hint to branchcode input
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2026-01-07 15:49:06 UTC
Size:
1.63 KB
patch
obsolete
>From b602787129c818a9b7dd34f5e8a45787166312b2 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> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > 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 4d2bc18fe5f..37468a6b222 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -159,6 +159,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
| 190994