Summary: | Angle brackets in enumchron do not display in opac or staff side | ||
---|---|---|---|
Product: | Koha | Reporter: | Joy Nelson <1joynelson> |
Component: | Templates | Assignee: | Nick Clemens (kidclamp) <nick> |
Status: | CLOSED FIXED | QA Contact: | Josef Moravec <josef.moravec> |
Severity: | normal | ||
Priority: | P5 - low | CC: | fridolin.somers, josef.moravec |
Version: | Main | Keywords: | Academy |
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Trivial patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
opac view of data inside <anglebranckets> missing
Bug 19677 - Properly escape enumchrom/serialseq data Bug 19677 - Properly escape enumchrom/serialseq data Bug 19677 - Properly escape enumchrom/serialseq data |
Created attachment 69850 [details] [review] Bug 19677 - Properly escape enumchrom/serialseq data Some serial issues use angle brackets for denoting certain data. Currently this is not displayed in Koha. This patch escapes the data so that angle brackets will display. To test: 1 - Add an enumchron field to an item containg angle brackets: "This is a <test>" 2 - View the record in the staff and opac, not the field displays as: "This is a" 3 - Apply patch 4 - Note full text now displays Created attachment 70530 [details] [review] Bug 19677 - Properly escape enumchrom/serialseq data Some serial issues use angle brackets for denoting certain data. Currently this is not displayed in Koha. This patch escapes the data so that angle brackets will display. To test: 1 - Add an enumchron field to an item containg angle brackets: "This is a <test>" 2 - View the record in the staff and opac, not the field displays as: "This is a" 3 - Apply patch 4 - Note full text now displays Signed-off-by: Charlotte Cordwell <charlotte.cordwell123@gmail.com> Switching to Signed off - thx, Charlotte! Created attachment 70620 [details] [review] Bug 19677 - Properly escape enumchrom/serialseq data Some serial issues use angle brackets for denoting certain data. Currently this is not displayed in Koha. This patch escapes the data so that angle brackets will display. To test: 1 - Add an enumchron field to an item containg angle brackets: "This is a <test>" 2 - View the record in the staff and opac, not the field displays as: "This is a" 3 - Apply patch 4 - Note full text now displays Signed-off-by: Charlotte Cordwell <charlotte.cordwell123@gmail.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Pushed to master for 18.05, thanks to everybody involved! Awesome work all! Pushed to Stable for 17.11.02 Pushed to 17.05.x for v17.05.09 |
Created attachment 69263 [details] opac view of data inside <anglebranckets> missing Libraries following the NISO standards are using <> in holdings data (normally in the 952$h enumchron field. The data can be entered and saved in the database: | enumchron | +---------------------------+ | Volume 3. <Supplement 2a> | But the data between the <> is not displayed on the staff side or in the OPAC.