Acquisition affecting displayHoldings displays in OPAC
- Article Type: General
- Product: Voyager
- Product Version: 7.1.0
Description:
Bug Report for Issue 16384-7857
Module: WebVoyage
Release(s) replicated in: 7.1.0
Server Platforms affected: Solaris/all
Browser type & version (if WebVoyage): all supported
Loss of functionality from (previous version, if applicable): 6.5.x
Expected Results: If you’re using the 1040 code in displayHoldings.xml, an 866 should display only if there is a properly defined subfield 8 (either 0 or with info to properly link the 866 to an 853/863 pair).
Actual Results: If you’re using the 1040 code in displayHoldings.xml, an 866 will display if there is an 853/863 pair present, regardless of whether the 866 has a subfield 8.
Workflow Implications: Fields display that should not display (and if you use the 1040 code and define the 866 separately so the field will display when 853/863 pairs are *not* present, you may have 866 fields that are displayed twice – called once by the 1040, and once by the 866 definition).
Replication steps:
Create a bib with a mfhd that has an 866 field that does not have a subfield 8.
In your displayHoldings.xml, make sure you have something like the following defined:
<holdingsTags label="Older Issues:">
<displayTag field="1040" />
</holdingsTags>
<holdingsTags label="Other issues:">
<displayTag field="866" indicator1="|" indicator2="0" subfield="az" />
<displayTag field="866" indicator1="|" indicator2="1" subfield="az" />
<displayTag field="866" indicator1="|" indicator2="2" subfield="az" />
<displayTag field="866" indicator1="3" indicator2="0" subfield="az" />
<displayTag field="866" indicator1="3" indicator2="1" subfield="az" />
<displayTag field="866" indicator1="3" indicator2="2" subfield="az" />
<displayTag field="866" indicator1="4" indicator2="0" subfield="az" />
<displayTag field="866" indicator1="4" indicator2="1" subfield="az" />
<displayTag field="866" indicator1="4" indicator2="2" subfield="az" />
<displayTag field="866" indicator1="5" indicator2="0" subfield="az" />
<displayTag field="866" indicator1="5" indicator2="1" subfield="az" />
<displayTag field="866" indicator1="5" indicator2="2" subfield="az" />
<displayTag field="899" indicator1="X" indicator2="X" subfield="a" />
</holdingsTags>
Search the tomcat WebV interface for your record
You’ll see that, as the 866 information is uncommented in the .xml file, the 866 will display under Other Issues
In the holdings record, add an 853/863 pair, but leave the 866 as is (w/o a subfield 8)
Now you’ll see that the 866 displays twice – once under Older Issues (b/c of the 1040 code) and once under Other Issues. The 1040 should only display the 866 if there is a subfield 8 present.
Resolution:
- Article last edited: 3/19/2015