Detailed search results shows parts for items that dont have parts

Bug #1466990 reported by Blake GH
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Low
Unassigned
2.8
Fix Released
Undecided
Unassigned
2.9
Fix Released
Undecided
Unassigned

Bug Description

The best way I can describe this is by sharing some links:

This will show 2 results. The second bib does not have parts however the OPAC says it does.

http://mig.missourievergreen.org/eg/opac/results?detail_record_view=1&query=orange+is+the+new+black&qtype=title&fi%3Asearch_format=dvd&locg=174&sort=&detail_record_view=1

You can verify that by using this link:

http://mig.missourievergreen.org/eg/opac/results?query=orange+is+the+new+black+season+two&qtype=title&fi%3Asearch_format=dvd&locg=174&sort=&detail_record_view=1

This is the same search but this time narrowed the search to "Season two" and we only get one result (the same bib as the second result from the first link)

Here you can see that the item does not have parts.

The OPAC is getting the variable from args.holdings which comes from get_marc_attrs.

Somehow the parts "bleed" from one bib to the next under some circumstances.

Revision history for this message
Thomas Berezansky (tsbere) wrote :

Could the copy on the second bib have a part owned by the first bib? Sometimes when copies are moved from bib to bib the parts stay attached even though the bib is wrong.

Revision history for this message
Blake GH (bmagic) wrote :

There are zero rows in asset.copy_part_map for the item showing "Disk 2" on the second bib (1399132). There are zero rows in biblio.monograph_part for record 1399132

Revision history for this message
Blake GH (bmagic) wrote :

There are zero rows in asset.copy_part_map for the item showing "Disk 2" on the second bib (1399132). There are zero rows in biblio.monograph_part for record 1399132

Another clue that I realize, there is a "Disk 2" on the first bib but the copy is OPAC invisible. It belongs to a copy that is not showing here. I believe that somehow that opac invisible copy part is getting attached to the next visible copy.

Remington Steed (rjs7)
tags: added: parts
Revision history for this message
Blake GH (bmagic) wrote :
tags: added: pullrequest
Revision history for this message
Ben Shum (bshum) wrote :

Pushed to master and backported to rel_2_9 and rel_2_8. Thanks Blake!

Changed in evergreen:
milestone: none → 2.10-beta
status: New → Fix Committed
importance: Undecided → Low
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.