Bugzilla – Attachment 114714 Details for
Bug 26875
Allow printing of just one barcode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26875: Allow printing of just one barcode in batch
Bug-26875-Allow-printing-of-just-one-barcode-in-ba.patch (text/plain), 1.55 KB, created by
Victor Grousset/tuxayo
on 2020-12-28 17:35:25 UTC
(
hide
)
Description:
Bug 26875: Allow printing of just one barcode in batch
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2020-12-28 17:35:25 UTC
Size:
1.55 KB
patch
obsolete
>From 6590a07f0475e39997b9cbc5e0264fece8c81514 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Date: Fri, 30 Oct 2020 16:25:05 +0000 >Subject: [PATCH] Bug 26875: Allow printing of just one barcode in batch > >To test: >1- go to the Print Barcode Range page >2- enter From=1 and To=1 >3- confirm error "Must be greater than from value." >4- apply patch, restart, reload page >5- enter From=1, To=1 >6- confirm no error >7- change From to 2, error reappears > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > .../intranet-tmpl/prog/en/modules/labels/label-edit-range.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt >index 4a5bc5a7e4..17c111e260 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt >@@ -61,7 +61,7 @@ > > $(document).ready(function () { > $.validator.addMethod("gt", function(value, element, params) { >- return parseInt(value) > parseInt($(params).val()); >+ return parseInt(value) >= parseInt($(params).val()); > }, _("Must be greater than from value.")); > > $("form[name=add_by_number]").validate({ >@@ -88,4 +88,4 @@ > </script> > [% END %] > >-[% INCLUDE 'intranet-bottom.inc' %] >\ No newline at end of file >+[% INCLUDE 'intranet-bottom.inc' %] >-- >2.29.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 26875
:
112726
|
112973
| 114714 |
114715