@@ -, +, @@
browser
--> The browser should show the main title, along with the number and volume title.
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 6 +++---
opac/opac-detail.pl | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
@@ -1045,7 +1045,7 @@
[% ELSE %]
[% END %]
- [% loop.count + offset | html %]
+ [% loop.count + offset | html %]
[% END # /FOREACH listitem %]
@@ -1056,12 +1056,12 @@
[% IF ( listitem.biblionumber == biblionumber ) %]
[% loop.count + offset | html %]
- [% title | html %]
[% IF ( author ) %]by [% author | html %][% END %]
+ [% title | html %] [% part_number | html %] [% part_name | html %]
[% IF ( author ) %]by [% author | html %][% END %]
[% ELSE %]
[% loop.count + offset | html %]
- [% listitem.title | html %]
[% IF ( listitem.author ) %]by [% listitem.author | html %][% END %]
+ [% listitem.title | html %] [% listitem.part_number | html %] [% listitem.part_name | html %]
[% IF ( listitem.author ) %]by [% listitem.author | html %][% END %]
[% END # /IF listitem.biblionumber %]
[% END # /FOREACH listitem %]
--- a/opac/opac-detail.pl
+++ a/opac/opac-detail.pl
@@ -480,7 +480,7 @@ if ($session->param('busc')) {
next unless ($arrBiblios[$j]);
$dataBiblioPaging = Koha::Biblios->find( $arrBiblios[$j] ) if ($arrBiblios[$j] != $biblionumber);
next unless $dataBiblioPaging;
- push @listResults, {index => $j + 1 + $offset, biblionumber => $arrBiblios[$j], title => ($arrBiblios[$j] == $biblionumber)?'':$dataBiblioPaging->title, author => ($arrBiblios[$j] != $biblionumber && $dataBiblioPaging->author)?$dataBiblioPaging->author:'', url => ($arrBiblios[$j] == $biblionumber)?'':'opac-detail.pl?biblionumber=' . $arrBiblios[$j]};
+ push @listResults, {index => $j + 1 + $offset, biblionumber => $arrBiblios[$j], title => ($arrBiblios[$j] == $biblionumber)?'':$dataBiblioPaging->title, author => ($arrBiblios[$j] != $biblionumber && $dataBiblioPaging->author)?$dataBiblioPaging->author:'', part_number => ($arrBiblios[$j] == $biblionumber)?'':$dataBiblioPaging->part_number, part_name => ($arrBiblios[$j] == $biblionumber)?'':$dataBiblioPaging->part_name, url => ($arrBiblios[$j] == $biblionumber)?'':'opac-detail.pl?biblionumber=' . $arrBiblios[$j]};
}
$template->param('listResults' => \@listResults) if (@listResults);
$template->param('indexPag' => 1 + $offset, 'totalPag' => $arrParamsBusc{'total'}, 'indexPagEnd' => scalar(@arrBiblios) + $offset);
--