If you place a course reserve on a bib where the MARC record contains multiple 856 $u URLs, the resulting "Record URL" link in the Link column on both the staff and public catalogs (i.e. /cgi-bin/koha/course_reserves/course-details.pl?course_id=XXX and /cgi-bin/koha/opac-course-details.pl?course_id=XXX) is broken. It looks as if the URL is constructed by concatenating both 856 URLs and separating them with a vertical bar character surrounded by spaces, " | ". Testing Plan: - create a bib record with at least two MARC 856 fields with valid URLs in their $u subfields - add an item to the bib record - enable course reserves (UseCourseReserves) - create a course - add an item from the aforementioned record on course reserve - visit its course details page - note that the "Record URL" link in the Link column is broken I'm not sure if the problem lies within Course Reserves itself; I investigated briefly and I see "cr.item.url" is the field utilized by the template. I don't need a "url" field in course_reserves or related database tables, I'm guessing it's a field on the connected item record. I'm seeing this on 16.11 but I haven't tested master.
Also getting this error for Koha 17.05..work perfectly fine if there is only one 856 field, but error for multiple 856..
Is also in 18.11.06
*** This bug has been marked as a duplicate of bug 20502 ***