Bugzilla – Attachment 156500 Details for
Bug 34820
Improve inventory tool message for items with non-matching notforloan values
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34820: (QA follow-up) add filter, update CSV output
Bug-34820-QA-follow-up-add-filter-update-CSV-outpu.patch (text/plain), 2.54 KB, created by
Katrin Fischer
on 2023-10-03 12:35:47 UTC
(
hide
)
Description:
Bug 34820: (QA follow-up) add filter, update CSV output
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-10-03 12:35:47 UTC
Size:
2.54 KB
patch
obsolete
>From 9790527086574fd69a1e03e62bac33b820ca46b7 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 20 Sep 2023 06:40:08 -0400 >Subject: [PATCH] Bug 34820: (QA follow-up) add filter, update CSV output > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 4 ++-- > tools/inventory.pl | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >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 f7c4084a6b..1937604441 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt >@@ -149,7 +149,7 @@ > > <fieldset class="rows" id="optionalfilters"> > <legend>Optional filters for inventory list or comparing barcodes</legend> >- <span class="hint">Scanned items are expected to match one of the selected <em>not for loan</em> critera if any are checked.</span> >+ <span class="hint">Scanned items are expected to match one of the selected <em>not for loan</em> criteria if any are checked.</span> > <br/> > <div id="statuses" style="display: block;"> > [% FOREACH status IN statuses %] >@@ -313,7 +313,7 @@ > <span>Found in wrong place</span><br/> > [% ELSIF problem.key == 'changestatus' %] > [% IF result.notforloan %] >- <span>Item has unselected <em>Not for loan</em> status <em>[% result.notforloan %]</em></span><br/> >+ <span>Item has unselected <em>Not for loan</em> status <em>[% result.notforloan | html %]</em></span><br/> > [% ELSE %] > <span>Items has no <em>not for loan</em> status</span><br/> > [% END %] >diff --git a/tools/inventory.pl b/tools/inventory.pl >index ca52b8faba..65f261feb7 100755 >--- a/tools/inventory.pl >+++ b/tools/inventory.pl >@@ -411,7 +411,7 @@ if (defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on'){ > if( $key eq 'wrongplace' ) { > $errstr .= "wrong place,"; > } elsif( $key eq 'changestatus' ) { >- $errstr .= "unknown notforloan status,"; >+ $errstr .= "unselected notforloan status $item->{notforloan},"; > } elsif( $key eq 'not_scanned' ) { > $errstr .= "missing,"; > } elsif( $key eq 'no_barcode' ) { >-- >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 34820
:
155838
|
155848
|
155849
|
155871
|
155928
|
155957
|
156499
| 156500 |
156501
|
156502