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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit f66379c075)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
74f85e12a9
commit
0c965868d9
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in New Issue