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:57:23 +0000 (22:57 -0500)
commitbd8411c9e141ab3d6bf3cb3ac895b85bc43012b6
treea76ea2ab4955b66981fc8e3172c36580fe1038db
parentbea2cddccfc17fcadeadf2c7c893b44aa43bd224
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