]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1466990: Detailed search results shows parts for items that dont have parts
authorblake <blake@mobiusconsortium.org>
Wed, 23 Dec 2015 20:20:40 +0000 (14:20 -0600)
committerBen Shum <ben@evergreener.net>
Wed, 24 Feb 2016 03:56:49 +0000 (22:56 -0500)
commit4b40e68a8757c3c80a4c0c8ba9d6de60bc1f1af5
tree08521f596cfb5908009b58cbc273379beae4e72a
parent4ae3fa1a24e1e1bbfbd8b1ba77c8cc8e5d5b99a0
LP#1466990: Detailed search results shows parts for items that dont have parts

The part_label variable needs to be reset between iterations. The variable was still set
and bled from copy to copy. Testing this will require a search with details turned on.
The search result set needs to include a bib that has copies with parts (with at least
one copy invisible) and another bib that has copies without parts.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Open-ILS/src/templates/opac/parts/misc_util.tt2