[Koha-bugs] [Bug 29358] Allow local definition of staff client's 'View in OPAC' links

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 19 21:27:07 CEST 2022


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

Lari Taskula <lari.taskula at hypernova.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lari.taskula at hypernova.fi

--- Comment #1 from Lari Taskula <lari.taskula at hypernova.fi> ---
+1

We've also ran into this issue with shared lists
https://github.com/Koha-Community/Koha/blob/b2fdd8f745f77a52d00ffffdfea8dd60dc33f462/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt#L146

If we used a system preference to control these links, what would be the best
format? YAML? Example

OPACLinks (default):

---
xslt_MARC21slim2intranetDetail_opac_view:
"{{OPACBaseURL|raw}}/cgi-bin/koha/opac-detail.pl?biblionumber={{biblionumber}}"
virtualshelves_sendshelf:
"{{OPACBaseURL|raw}}/cgi-bin/koha/opac-detail.pl?biblionumber={{BIBLIO_RESULT.biblionumber|html}}"


OPACLinks (customized)

---
xslt_MARC21slim2intranetDetail_opac_view:
"https://another_frontend/record/{{biblionumber}}"
virtualshelves_sendshelf:
"https://another_frontend/record/{{BIBLIO_RESULT.biblionumber|html}}"

There are probably plenty of such locations so we have to identify those. Shall
we open a new Bug for each of them and consider this Bug omnibus?

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


More information about the Koha-bugs mailing list