[Koha-bugs] [Bug 27269] Move C4::Biblio::GetMarcSubjects to Koha namespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 30 13:46:44 CEST 2023


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

Owen Leonard <oleonard at myacpl.org> changed:

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

--- Comment #6 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 151793
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151793&action=edit
Bug 27269: Move GetMarcSubjects to Koha namespace

This patch moves C4::Biblio::GetMarcSubjects to
Koha::Biblio->get_marc_subjects. This is so get_marc_subjects can be
used in templates and notices.

To test:
1. Find a record that has a subject (6xx).
2. Add the record to the cart and a list.
3. View your cart and click 'more details'. Confirm subjects show as
normal.
4. Click 'send' and confirm the email sent shows the subjects as normal.
5. Go to the list you added the record to and click 'send list'. Confirm
the email sent shows the ubjectsas normal.
6. Set the OPACXSLTDetailsDisplay system preference to empty (for no xslt)
7. Log in to the OPAC. Find the record and add it to the cart and a list
8. View the cart and click 'more details'. Confirm subjects show as
normal.
9. Click 'send' and confirm the email sent shows the subjects as normal.
10. Go to the list you added the record to and click 'send list'.
Confirm the email sent shows the subjects as normal.
11. View the record detail page and confirm the subjects show as normal.
12. Confirm tests pass:
- t/Biblio.t
- t/db_dependent/Koha/Biblio.t

Sponsored-by: Bibliotheksservice-Zentrum Baden-Württemberg (BSZ)
Signed-off-by: Owen Leonard <oleonard at myacpl.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list