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

--- Comment #2 from David Nind <[email protected]> ---
Created attachment 199886
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199886&action=edit
Bug 42763: ERM local title show page does not display link to local
bibliographic record

This patch adds the biblio_id field to the resourceAttrs array in
EHoldingsLocalTitleResource.vue so that, when a local eHoldings title
has a linked bibliographic record, a "Local bibliographic record" link
is shown on the title's show page. The link was already implemented for
EBSCO titles but was missing for local titles because the generic
ResourceShow framework only renders fields explicitly declared in
resourceAttrs.

Test plan:
1. Go to E-resource management > eHoldings > Local > Titles and create
   a new title, checking the "Create bibliographic record" option. Save.
2. Result: No link to the local bibliographic record is shown anywhere
   on the page.
3. Apply patch, run yarn js:build, clear browser cache, and restart
   everthing (restart_all).
4. Open the show page of the title created in step 1. A "Local
   bibliographic record" link pointing to the catalogue detail page
   should now appear at the bottom of the fields list.
5. Open a local title that does NOT have a linked bibliographic record
   and verify that the "Local bibliographic record" row is not shown.

Signed-off-by: David Nind <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to