Bugzilla – Attachment 175720 Details for
Bug 35975
Downloaded cart with BibTeX contains hash value instead of the record number
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35975: Show biblionumber when download cart as BibTeX
Bug-35975-Show-biblionumber-when-download-cart-as-.patch (text/plain), 1.22 KB, created by
Owen Leonard
on 2024-12-19 12:25:49 UTC
(
hide
)
Description:
Bug 35975: Show biblionumber when download cart as BibTeX
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-12-19 12:25:49 UTC
Size:
1.22 KB
patch
obsolete
>From beb3c5ca66d7559613a525c97d4abe0e27e18c47 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Thu, 19 Dec 2024 10:58:15 +0000 >Subject: [PATCH] Bug 35975: Show biblionumber when download cart as BibTeX > >To test: >1. In OPAC, add a record to your cart >2. Go to your cart >3. Click Download -> BibTeX >4. Observe downloaded file in your favorite text editor >5. Observe Koha::Hash(xxx) within file contents >6. Apply patch >7. Repeat steps 3 and 4 >8. Observe Koha::Hash has been replaced with biblionumber > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > opac/opac-downloadcart.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-downloadcart.pl b/opac/opac-downloadcart.pl >index db103bacba..764d91d3f4 100755 >--- a/opac/opac-downloadcart.pl >+++ b/opac/opac-downloadcart.pl >@@ -102,7 +102,7 @@ if ($bib_list && $format) { > $output .= marc2ris($record); > } > elsif ($format eq 'bibtex') { >- $output .= marc2bibtex($record, $biblio); >+ $output .= marc2bibtex($record, $biblio->biblionumber); > } > elsif ( $format eq 'isbd' ) { > my $framework = GetFrameworkCode( $biblio ); >-- >2.39.5
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 35975
:
175698
| 175720