Summary: | MARC detail and ISBD pages still show suppressed records | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | MARC Bibliographic data support | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | fridolin.somers |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Bug Depends on: | 10195 | ||
Bug Blocks: |
Description
Katrin Fischer
2021-05-28 07:11:49 UTC
Arf indeed, code in only in opac-detail.pl : https://git.koha-community.org/Koha-community/Koha/src/commit/3ba74940ee730e92ad7061f27f18390cc6308364/opac/opac-detail.pl#L147 This needs to be in a module, and if possible with a Koha to MARC mapping instead of hardcoded 942$n. (In reply to Fridolin Somers from comment #1) > Arf indeed, code in only in opac-detail.pl : > > https://git.koha-community.org/Koha-community/Koha/src/commit/ > 3ba74940ee730e92ad7061f27f18390cc6308364/opac/opac-detail.pl#L147 > > This needs to be in a module, and if possible with a Koha to MARC mapping > instead of hardcoded 942$n. I think adding a Koha to MARC mapping could be a different bug, also to keep this as easy as possible for backporting. Possibly the code for the check should also be in a routine somewhere? For MARC21 942$n has been established as standard and has a matching index. I am not sure if UNIMARC has a standard mapping at the moment? (In reply to Katrin Fischer from comment #2) > (In reply to Fridolin Somers from comment #1) > > Arf indeed, code in only in opac-detail.pl : > > > > https://git.koha-community.org/Koha-community/Koha/src/commit/ > > 3ba74940ee730e92ad7061f27f18390cc6308364/opac/opac-detail.pl#L147 > > > > This needs to be in a module, and if possible with a Koha to MARC mapping > > instead of hardcoded 942$n. > > I think adding a Koha to MARC mapping could be a different bug, also to keep > this as easy as possible for backporting. > Sure. Should we add to Koha::Biblio hidden_in_opac() ? Maybe with a param 'context' = 'search' or 'details' ? |