Bugzilla – Attachment 145325 Details for
Bug 32631
Error when previewing record during batch record modification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32631: Error when previewing record during batch record modification
Bug-32631-Error-when-previewing-record-during-batc.patch (text/plain), 1.37 KB, created by
ByWater Sandboxes
on 2023-01-13 20:51:27 UTC
(
hide
)
Description:
Bug 32631: Error when previewing record during batch record modification
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-01-13 20:51:27 UTC
Size:
1.37 KB
patch
obsolete
>From 6c8e6be0eb355493d039bf45a3c6b58494ca3cba Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 13 Jan 2023 15:00:25 +0000 >Subject: [PATCH] Bug 32631: Error when previewing record during batch record > modification > >This patch corrects an error in the script which outputs MARC data for >preview during batch record modification. > >To test, apply the patch and restart services. You will need at least >one MARC modification template in your system. > >- Go to Cataloging -> Batch record modification >- Submit a batch of bibliographic records >- In the table of records that follows, click any "Show MARC" button. A > modal window should appear with a preview of the modified record. > >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >--- > svc/records/preview | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/svc/records/preview b/svc/records/preview >index 9e528e4378..81431f160f 100755 >--- a/svc/records/preview >+++ b/svc/records/preview >@@ -36,7 +36,7 @@ my $mmtid = $query->param('mmtid'); # Marc modification template id > my $record; > if ( $record_type eq 'biblio' ) { > my $biblio = Koha::Biblios->find( $record_id ); >- my $record = $biblio->metadata->record; >+ $record = $biblio->metadata->record; > } else { > my $authority = Koha::MetadataRecord::Authority->get_from_authid( $record_id ); > $record = $authority->record; >-- >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 32631
:
145278
|
145325
|
145592