Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Call Number redirect adds additional browse modifier to search code and encodes the URL encoding

    • Product: Voyager
    • Product Version: 10.1.0
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare

    Symptoms

    Call number redirect URL adds an additional browse modifier to the search code (CALL++) and encodes them, and then encodes the encoded % for the second +

    Defect Status

    VYG-6983 is resolved in Voyager 10.1.0

    Replication Steps

    1. Enable call number redirect in displayHoldings.xml:
      <holdingsTags label="Call Number:" notFound="No call number available">
          <displayTag field="852" indicator1="X"  indicator2="X" subfield="khij" redirect="callNumber" redirectOn="hi" />
      </holdingsTags>
      
    2. Search for a record with a call number and click on the call number redirect in the holdings information.
    3. Note the resulting redirect URL, paying attention to the searchCode= value, which should be CALL%2B
      http://{IP}:7008/vwebv/search?searchArg=%20PS1449.C85%20A16%201968&searchCode=CALL%2B%252B&searchType=1 

    Workaround

     Edit display.xsl to prevent additional + from being added to CALL. Comment out the line as shown below:

    <xsl:when test="$mfhdSearchRedirect='callnumber'"> 
    <xsl:value-of select="$searchTypeCallNumber/page:element[@nameId='searchCode']/page:label"/> 
    <!-- 
    <xsl:value-of select="$browse"/> 
    --> 
    </xsl:when> 

    • Article last edited: 31-May-2018
    • Was this article helpful?