@@ -, +, @@ - Log in to the OPAC and open a bibliographic record's detail page. - Under the "Comments" tab, click the "Post your comments" link to trigger the pop-up window. - In the pop-up window, verify that the item's title is correct in the page title and the heading. Author should display correctly, if present. - Test submitting a comment and editing a comment. Everything should work correctly. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt | 11 ++++------- opac/opac-review.pl | 3 +-- 2 files changed, 5 insertions(+), 9 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt @@ -1,8 +1,5 @@ [% INCLUDE 'doc-head-open.inc' %] -[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Comments on [% title | html %] - +[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Comments on [% INCLUDE 'biblio-title-head.inc' %] [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] @@ -42,10 +39,10 @@ [% END # / ERRORs %] -

Comments on [% INCLUDE 'biblio-title.inc' biblio=Stash.stash() %]

- [% IF ( author ) %]

[% author | html %]

[% END %] +

Comments on [% INCLUDE 'biblio-title.inc' %]

+ [% IF ( biblio.author ) %]

[% biblio.author | html %]

[% END %]
- + [% IF ( reviewid ) %][% END %]
--- a/opac/opac-review.pl +++ a/opac/opac-review.pl @@ -97,11 +97,10 @@ if( !@errors && defined $review ) { $review = $clean; $review ||= $savedreview->review if $savedreview; $template->param( - 'biblionumber' => $biblionumber, 'borrowernumber' => $borrowernumber, 'review' => $review, 'reviewid' => $reviewid || 0, - 'title' => $biblio->title, + 'biblio' => $biblio, ); output_html_with_http_headers $query, $cookie, $template->output; --