Bugzilla – Attachment 141209 Details for
Bug 31660
MARC preview for authority search results comes up empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31660: MARC preview for authority search results has hidden contents
Bug-31660-MARC-preview-for-authority-search-result.patch (text/plain), 1.89 KB, created by
Katrin Fischer
on 2022-10-02 11:00:12 UTC
(
hide
)
Description:
Bug 31660: MARC preview for authority search results has hidden contents
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-02 11:00:12 UTC
Size:
1.89 KB
patch
obsolete
>From 2684e86488020675e7a21cbccc7fdb2b75f457ac Mon Sep 17 00:00:00 2001 >From: Kevin Carnes <kevin.carnes@ub.lu.se> >Date: Fri, 30 Sep 2022 09:21:25 +0200 >Subject: [PATCH] Bug 31660: MARC preview for authority search results has > hidden contents > >This patch makes the contents of the MARC preview for authority search >results visible. > >To test: >1) Go to the Authorities page in the staff interface >2) Click Submit to do a search >3) Click on Actions to the right of an authority >4) Select MARC preview >5) Observe that the modal appears empty >6) Apply patch >7) Hold down the shift key when you reload the page, clear the cache, > or use another web browser >8) Do another authority search and look at a MARC preview >9) Observe that the MARC preview contains the MARC record > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js b/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js >index 57ba0405ea..a53a53de38 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js >@@ -6,6 +6,9 @@ $(document).ready(function(){ > $.get("/cgi-bin/koha/authorities/detail.pl", { authid : authid }, function( data ){ > var auth_detail = $(data).find("#authoritiestabs"); > auth_detail.find("ul").remove(); >+ auth_detail.removeClass("toptabs"); >+ auth_detail.find("> div").removeClass("tab-content"); >+ auth_detail.find("> div > div").removeClass("tab-pane").removeAttr("role"); > $("#authorityDetail .modal-title").html(__("Authority") + " " + authid ); > $("#authorityDetail .modal-body").html( auth_detail ); > }); >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31660
:
141109
|
141127
| 141209