]> git.koha-community.org Git - koha.git/commit
Bug 30678: Add OCLC_NO as option to OPACSearchForTitleIn
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 4 May 2022 14:30:28 +0000 (14:30 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 17:58:11 +0000 (14:58 -0300)
commitff0da4944cbb2f2a9af645bdc399e8df7cef8793
tree0b7f5c1100603f4ba5d0ecef8a3a7b1424f79609
parent39ae2fa3fef232c0c11631cc2c8d99c2e00b36de
Bug 30678: Add OCLC_NO as option to OPACSearchForTitleIn

We need to pass OCLC_NO as key to C4::Output::parametrized_url.
We get it from MARC21 035$a and strip the organizational code.

Test plan:
Add e.g. 62385712 in 035$a in a record.
Add e.g. following link to pref OPACSearchForTitleIn:
    <a  href="https://worldcat.org/search?q={OCLC_NO}" target="_blank">WorldCat (via OCLC number)</a>
Open that record on detail page. Click More searches. Follow that link.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl
opac/opac-detail.pl