[Koha-bugs] [Bug 17127] Can't hide MARC21 500 and others with NotesToHide

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 26 15:31:12 CET 2021


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

Florian <florian.bontemps at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #126990|0                           |1
        is obsolete|                            |

--- Comment #9 from Florian <florian.bontemps at biblibre.com> ---
Created attachment 128041
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128041&action=edit
Bug 17127: Remove notes from detail.tt to only use MARCNOTES

Notes come from the biblio table, but that table is already used to fill in
MARCNOTES through Biblio.pm and get_marc_notes.
Get_marc_notes does check for NotesToHide and already read every note on the
records, but .notes doesn't go through that same filter.
I don't see the point of keeping notes as a condition when MARCNOTES does the
same job but better.

To test:
    1) Take any record, or create one
    2) Input something in the 500 field (or 300 in UNIMARC)
    3) In Systempreferences -> NotesToHide, fill in the number 500 (or 300).
    4) Save, then go look at the record detail in the OPAC and admin website.
    5) You should still see the 500 or 300 field under the Description tab.
    6) Apply patch.
    7) Reload the record detail page.
    8) Observe the error is gone.

-- 
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