Created attachment 93597 [details] staff view When looking at the display of the Bib record in both the staff and OPAC, the DDC number will display by default. However, there is no way for an LC number to display. It would be nice if they both displayed and the library could choose to hide one or both. Currently, it appears that it is displaying the 082 and 084, we would like to see it also display the 090 or 050 (or both) by default.
Created attachment 93740 [details] [review] Bug 23731: Add LOC classification number This patch add the LOC classifiction number to the OPAC details and Staff details page. TO TEST: 1. Add/find a record with a classification number in the 050a field. 2. View the details page on both OPAC and staff. 3. Notice no LOC classification number is displaying. 4. Apply patch. 5. Refresh the OPAC/staff and see that the LOC classification number is displaying. 6. Rejoice.
Why this change to MARC21slim2OPACDetail.xsl? @@ -956,10 +968,6 @@ <xsl:with-param name="codes">a</xsl:with-param> <xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param> </xsl:call-template> - <xsl:choose> - <xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when> - <xsl:otherwise> | </xsl:otherwise> - </xsl:choose> </xsl:for-each>
Lucas, the LOC number is generally both the 050$a and 050$b- can the $b be also included- I apologize I didn't clearly say this in my initial submission.
Created attachment 93754 [details] [review] Bug 23731: Give staff detail/OPAC detail option to display LOC classification This patch add the LOC classifiction number to the OPAC details and Staff details page. TO TEST: 1. Add/find a record with a classification number in the 050$a and 050$b field. 2. View the details page on both OPAC and staff. 3. Notice no LOC classification number is displaying. 4. Apply patch. 5. Refresh the OPAC/staff and see that the LOC classification number is displaying. 6. Rejoice.
Owen, that deletion was just a mistake on my part. I supplied a new patch that also in includes the 050$b
Created attachment 93756 [details] [review] Bug 23731: Give staff detail/OPAC detail option to display LOC classification Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Changed the status to signed off (can also confirm that the patch works as expected).
Created attachment 93841 [details] [review] Bug 23731: Give staff detail/OPAC detail option to display LOC classification Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Nice work! Pushed to master for 19.11.00
backported to 19.05.x for 19.05.07
Backported to 18.11.x for 18.11.13