Bug 27269 - Move C4::Biblio::GetMarcSubjects to Koha namespace
Summary: Move C4::Biblio::GetMarcSubjects to Koha namespace
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Aleisha Amohia
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-18 02:14 UTC by Aleisha Amohia
Modified: 2020-12-21 20:45 UTC (History)
0 users

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


Attachments
Bug 27269: Move GetMarcSubjects to Koha namespace (16.56 KB, patch)
2020-12-18 02:49 UTC, Aleisha Amohia
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Aleisha Amohia 2020-12-18 02:14:10 UTC

    
Comment 1 Aleisha Amohia 2020-12-18 02:49:50 UTC
Created attachment 114505 [details] [review]
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)