Bugzilla – Attachment 176839 Details for
Bug 38839
Add validation for replacement price in item input form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38839: (follow-up) Removed maxLength check for replacementPrice field.
Bug-38839-follow-up-Removed-maxLength-check-for-re.patch (text/plain), 1.63 KB, created by
Leo Stoyanov
on 2025-01-20 18:51:19 UTC
(
hide
)
Description:
Bug 38839: (follow-up) Removed maxLength check for replacementPrice field.
Filename:
MIME Type:
Creator:
Leo Stoyanov
Created:
2025-01-20 18:51:19 UTC
Size:
1.63 KB
patch
obsolete
>From 7726f3e0649dd05c1b2c4b79708f80ab73fa3c6e Mon Sep 17 00:00:00 2001 >From: Leo Stoyanov <leo.stoyanov@bywatersolutions.com> >Date: Mon, 20 Jan 2025 18:42:45 +0000 >Subject: [PATCH] Bug 38839: (follow-up) Removed maxLength check for > replacementPrice field. > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >index f4f349282f..2a3b47ef17 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc >@@ -171,7 +171,7 @@ > [% ELSIF ( mv.type == 'datetime_field' ) %] > <input type="text" id="[% mv.id | html %]" name="[% kohafield | html %]" class="input_marceditor [% kohafield | html %] flatpickr" value="[% mv.value | html %]" data-flatpickr-enable-time="true" data-flatpickr-set-to-today="true" /> > [% ELSIF ( mv.type == 'replacementprice' ) %] >- <input class="decimal valid input_marceditor [% kohafield | html %]" type="text" id="[% mv.id | html %]" name="[% kohafield | html %]" value="[% mv.value | html %]" maxlength="[%- mv.maxlength | html -%]" aria-invalid="false" /> >+ <input class="decimal valid input_marceditor [% kohafield | html %]" type="text" id="[% mv.id | html %]" name="[% kohafield | html %]" value="[% mv.value | html %]" aria-invalid="false" /> > [% END %] > > [% IF subfield.kohafield == 'items.more_subfields_xml' %] >-- >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 38839
:
176279
|
176285
|
176286
|
176403
|
176407
| 176839