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)
committerBill Erickson <berickxx@gmail.com>
Thu, 25 Feb 2016 02:48:06 +0000 (21:48 -0500)
commita3d97a9e89a166b6a8d61e819dc1cc35d1d0c05a
tree1c1e2bc4b2df76bf8adb068677709751803ae762
parentd81f72f6cea7851a5d800fd88c155f8a64ab2123
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