Bug 25126 - MARC visibility settings not obeyed on cart normal and detailed views
Summary: MARC visibility settings not obeyed on cart normal and detailed views
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-13 11:51 UTC by Katrin Fischer
Modified: 2023-06-08 22:26 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2020-04-13 11:51:26 UTC
When hiding fields/subfields via the MARC frameworks, this appears to have no effect on some pages in the OPAC like the cart normal and 'more details' views.

I assume this is because Koha pulls from the database fields and/or uses some of the older methods to pull data from the records. It would be nice if this could be refactored to not pull in data you have hidden via the frameworks.
Comment 1 Tomás Cohen Arazi 2020-04-15 12:29:35 UTC
In order to fix this one, the cart should rely entirely on the MARC record for display. It now uses GetBiblioData, which basically takes the data from the DB.
I cannot work on a rewrite right now, but seems doable
Comment 2 Lye Jia Lun 2021-11-25 01:36:09 UTC
We've recently upgrade to version 21.05.05.003 and encountered a similar issue.

In the MARC Frameworks, the visibility setting for a subfield was unticked for OPAC but it still appeared inside OPAC. This worked perfectly in version 20.11.
Comment 3 Aude Charillon 2022-05-19 10:55:02 UTC
We've found the exact same situation as Lye Jia Lun describes on a site recently upgraded to 21.11.05.
The site was on version 20.11.03 before where those options worked fine.
Comment 4 Martin Renvoize 2022-06-07 15:18:55 UTC
Can anyone varify where this is still an issue..

To me, it looks like the cart is taken care of already..

I realise there's also a bug open regarding title notes which is also being worked on.. but where else are these filters not taking effect?
Comment 5 Katrin Fischer 2022-07-30 22:04:30 UTC
I retested with 650a set to hidden and this works now. Closing.