Bug 12419: Not for loan items are not listed
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 13 Jun 2014 13:27:45 +0000 (15:27 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 30 Jun 2014 18:57:23 +0000 (15:57 -0300)
commit25193d088a62e62a4b638f251415220389a83559
treebb4d77e2fea24bfaadba0048f3fce45ef188d308
parent4132ac28bf088960d25766fccc60ba1535a0e8ef
Bug 12419: Not for loan items are not listed

On the cataloguing search (cataloguing/addbook.pl), if an item has a
notforloan value > 0, the item is not listed in the Location column.

It is quite confusing, the current behavior let patrons believe that
there is not item for the biblio (or less than the real count).

Test plan:
1/ Create 2 biblio records A and B
2/ Create some items for A
3/ Create 1+ item(s) for B with a notforloan status > 0
4/ Reindex both records
5/ Launch a search on the cataloguing module and verify that the
notforloan items are not listed in the 'Location' column.
6/ Apply this patch and verify the not for loan items are listed ("Not
for loan (XXX)").

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script, not for loan items now show up.
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Search.pm
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt