Ensure medium is also applied if Solr record do not have it PAZ-929
[pazpar2-moved-to-github.git] / etc / cf.xsl
index 49c2a1a..1c05886 100644 (file)
@@ -76,6 +76,9 @@
   -->
 
   <xsl:template match="item">
+    <pz:metadata type="due" empty="PAZPAR2_NULL_VALUE">
+      <xsl:value-of select="due"/>
+    </pz:metadata>
     <pz:metadata type="locallocation" empty="PAZPAR2_NULL_VALUE">
       <xsl:value-of select="location"/>
     </pz:metadata>
     </pz:metadata>
   </xsl:template>
 
+  <xsl:template match="medium">
+  </xsl:template>
+
   <xsl:template match="*" >
     <pz:metadata type="{local-name()}">
       <xsl:value-of select="."/>