Bugzilla – Attachment 73256 Details for
Bug 19584
Inventory: Trivial interface improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19584: Check compare barcodes box when uploading barcodes
Bug-19584-Check-compare-barcodes-box-when-uploadin.patch (text/plain), 2.68 KB, created by
Katrin Fischer
on 2018-03-25 19:02:22 UTC
(
hide
)
Description:
Bug 19584: Check compare barcodes box when uploading barcodes
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-03-25 19:02:22 UTC
Size:
2.68 KB
patch
obsolete
>From f03ca2f23c19ab5057fefb980cc7c5163a418ffe Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 7 Nov 2017 15:29:56 +0100 >Subject: [PATCH] Bug 19584: Check compare barcodes box when uploading barcodes > >This patch makes two trivial changes in the inventory interface: > >[1] If you have uploaded a barcode file, the compare barcodes checkbox is >automatically checked. In most cases this will be the option the user wants. >The compare will report missed items on the shelf. >[2] If the compare barcodes checkbox is checked, the Skip items on loan- >checkbox is automatically checked. This again is often desirable. If you >compare, you normally are not interested in seeing items reported missing >while they are checked out. > >Test plan: >[1] Upload a barcode file on inventory. Is the compare checked? >[2] Toggle compare. Does 'skip items on loan' change accordingly? > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Grace Smyth <gracesmythh@gmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >index 1ff0968..346b36d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >@@ -347,11 +347,14 @@ > if( $("#uploadbarcodes").val() ) { > $("#setdate").prop('disabled',false); > $("#compareinv2barcd").prop('disabled',false); >+ $("#compareinv2barcd").attr('checked',true); // default > $("#dont_checkin").prop('disabled',false); > if( $("#compareinv2barcd").attr('checked') ) { > $("fieldset#optionalfilters").show(); >+ $("#ignoreissued").attr('checked',true); // default > } else { > $("fieldset#optionalfilters").hide(); >+ $("#ignoreissued").attr('checked',false); > } > } else { > $("#setdate").prop('disabled',true); >@@ -365,7 +368,9 @@ > $("#compareinv2barcd").click(function() { > if( $("#compareinv2barcd").attr('checked') ) { > $("fieldset#optionalfilters").show(); >+ $("#ignoreissued").attr('checked',true); // default > } else { >+ $("#ignoreissued").attr('checked',false); > $("fieldset#optionalfilters").hide(); > } > }); >-- >2.1.4
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 19584
:
68997
|
69017
|
69018
|
69739
|
70531
|
71656
|
71657
|
73255
| 73256