Bug 37082

Summary: Content warning repeating in staff interface search results
Product: Koha Reporter: Wainui Witika-Park <wainuiwitikapark>
Component: Staff interfaceAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, martin.renvoize
Version: 23.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 36375    
Bug Blocks:    

Description Wainui Witika-Park 2024-06-13 02:11:29 UTC
To replicate the issue:

- Set syspref "ContentWarningField" to "590"
- Administration > MARC bibliographic frameworks
- Default framework > Actions > MARC structure
- Search for 590
- Tag 590 > Actions > View subfields
- Subfield a > Edit > Advanced constraints > Visibility > Make sure "Staff interface", and "Editor" boxes are checked
- Save changes
- Do a catalogue search
- Click on a result
- Edit > Edit record
- Settings > Choose Default
- Go to tab 5 > field 590
- Add something to 590 local note field
- Observe details page of record - content warning looks correct
- Observe search results page of record - content warning repeats itself - it is displayed twice
Comment 1 Martin Renvoize (ashimema) 2024-10-01 12:52:22 UTC
It looks like I've fixed this with bug 36375 to me.. I'm going to mark this one as a duplicate.
Comment 2 Martin Renvoize (ashimema) 2024-10-01 12:52:31 UTC

*** This bug has been marked as a duplicate of bug 36375 ***