https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23485

--- Comment #12 from Martin Renvoize <[email protected]> ---
Comment on attachment 110246
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110246
Bug 23485: Show barcode in holds to pull

Review of attachment 110246:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=23485&attachment=110246)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt
@@ +105,5 @@
>          <td>
> +            [% IF ( reserveloo.barcode ) %]
> +            [% IF ( reserveloo.itemnumber ) %]Only[% END %]
> +                <ul>
> +                    [% FOREACH barcode IN reserveloo.barcode.first %]

Not sure this makes sense.. does reserveloo.barcord.first really return an
array to loop on?

I would think you could simplify to just [% reserveloo.barcode.first %]

Also.. I'm not sure this needs to be nested in a list..

I think I'd expect simply

[% IF ( reserveloo.itemnumber ) %]Only [% reserveloo.barcode.first %][% ELSE
%][% reserveloo.barcode.first %] or any available[% END %]

With the filters added in where appropriate of course ;)

Does that make sense, or am I misunderstanding the logic

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to