Bugzilla – Attachment 168471 Details for
Bug 36821
Authority type text for librarians and OPAC limited to 100 characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36821: Changed Authority Type text limit for librarians and OPAC to match database
Bug-36821-Changed-Authority-Type-text-limit-for-li.patch (text/plain), 4.31 KB, created by
Eric Garcia
on 2024-07-03 19:00:34 UTC
(
hide
)
Description:
Bug 36821: Changed Authority Type text limit for librarians and OPAC to match database
Filename:
MIME Type:
Creator:
Eric Garcia
Created:
2024-07-03 19:00:34 UTC
Size:
4.31 KB
patch
obsolete
>From 109b14fba56712d710a8b9b48e259ca3b72f79ce Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Wed, 3 Jul 2024 18:48:29 +0000 >Subject: [PATCH] Bug 36821: Changed Authority Type text limit for librarians > and OPAC to match database > >To test: >1. Administration -> Authority Types >2. Select Genre -> Actions -> MARC Structure >3. Search or find tag 090 -> Actions -> Edit >4. Don't make any edits just hit submit >5. See the error: Please enter no more than 100 characters >6. Apply patch >7. Repeat steps 1-4 >8. Notice error is gone and you can enter up to 255 characters to match database > >Extra Credit: >1. Administration -> Authority Types >2. Select Genre -> Actions -> MARC Structure >3. Search or find tag 090 -> Actions -> Subfields >4. Choose any subfield -> Edit >5. Write a description for staff interface or OPAC >6. Notice you enter up to 255 characters to match database > >Please enter the commit message for your changes. Lines starting >--- > .../prog/en/modules/admin/auth_subfields_structure.tt | 4 ++-- > .../intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >index 6827187a5c..e4af43dd9a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >@@ -158,8 +158,8 @@ > <input type="checkbox" id="mandatory[% loo.row | html %]" name="mandatory[% loo.row | html %]" value="1" /> > [% END %] > </li> >- <li><label for="liblibrarian[% loo.row | html %]">Description in staff interface: </label><input id="liblibrarian[% loo.row | html %]" type="text" name="liblibrarian" value="[% loo.liblibrarian | html_entity %]" size="40" maxlength="80" /></li> >- <li><label for="libopac[% loo.row | html %]">Description in OPAC: </label><input type="text" id="libopac[% loo.row | html %]" name="libopac" value="[% loo.libopac | html_entity %]" size="40" maxlength="80" /></li> >+ <li><label for="liblibrarian[% loo.row | html %]">Description in staff interface: </label><input id="liblibrarian[% loo.row | html %]" type="text" name="liblibrarian" value="[% loo.liblibrarian | html_entity %]" size="40" maxlength="255" /></li> >+ <li><label for="libopac[% loo.row | html %]">Description in OPAC: </label><input type="text" id="libopac[% loo.row | html %]" name="libopac" value="[% loo.libopac | html_entity %]" size="40" maxlength="255" /></li> > <li><label for="tab[% loo.row | html %]">Managed in tab: </label> > <select name="tab" id="tab[% loo.row | html %]"> > [%- IF ( loo.tab == -1 ) -%] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt >index 1d1b1e83ae..c805d38512 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt >@@ -157,8 +157,8 @@ > </li> > [% END %] > >- <li><label for="liblibrarian">Description in staff interface: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian | html %]" size="40" maxlength="100" /></li> >- <li><label for="libopac">Description in OPAC: </label><input type="text" name="libopac" id="libopac" value="[% libopac | html %]" size="40" maxlength="100" /></li> >+ <li><label for="liblibrarian">Description in staff interface: </label><input type="text" name="liblibrarian" id="liblibrarian" value="[% liblibrarian | html %]" size="40" maxlength="255" /></li> >+ <li><label for="libopac">Description in OPAC: </label><input type="text" name="libopac" id="libopac" value="[% libopac | html %]" size="40" maxlength="255" /></li> > <li><label for="repeatable">Repeatable: </label> > [% IF ( repeatable ) %] > <input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" /> >-- >2.30.2
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 36821
:
168471
|
168475