Bug 34820: (QA follow-up) add filter, update CSV output

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Kyle Hall 2023-09-20 06:40:08 -04:00 committed by Tomas Cohen Arazi
parent 1810fac11e
commit 80b85e1bb3
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 3 additions and 3 deletions

View file

@ -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 %]

View file

@ -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' ) {