[Koha-bugs] [Bug 23423] Online resource links which are OPAC retrieve file references are not correctly formatted in the OPAC detail view

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 16 04:29:50 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23423

--- Comment #7 from Steve Cooney <steve at softwaremage.co.nz> ---
Hi Martin,

the links are created with the cataloguing UI so nothing handcrafted. If one
adds the OPACBaseURL then the MArc record includes that in the field. To be
fair this problem reared its head because I did not originally set the
opacbaseurl.

If you change the opac base url or rename the host however the self originating
links will be all broken. The relative URL's are to be preferred in these cases
and to construct correct URI's at runtime..

But then you have the problem of these opac file retrieve URI's hard coded in
MArc records which may become unusable at a point in the future.

SO a multi pronged problem.

How best to store 856u records when they are self-originating records
How to then integrate the opacbaseurl into markup renders and marc record
generation/export
How to distinguish self from non self originating URL's in the 856u$ field.

PResumably its not that difficult to update this record when the opac base url
record evolves/changes and the URL contains a pattern like opac-retrieve-file.
So there are work arounds.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list