View | Details | Raw Unified | Return to bug 22445
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (+5 lines)
Lines 148-153 Link Here
148
                                                <span class="no-image">No cover image available</span>
148
                                                <span class="no-image">No cover image available</span>
149
                                            [% END %]
149
                                            [% END %]
150
                                        [% END %]
150
                                        [% END %]
151
152
                                        [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
153
                                            <a href="[% review.biblio_object.custom_cover_image_url | url %]"><img alt="Cover image" src="[% review.biblio_object.custom_cover_image_url | url %]" /></a>
154
                                        [% END %]
155
151
                                    </td>
156
                                    </td>
152
                                </tr>
157
                                </tr>
153
                            [% END # / FOREACH review %]
158
                            [% END # / FOREACH review %]
(-)a/opac/opac-showreviews.pl (-1 / +2 lines)
Lines 107-112 for my $result (@$reviews){ Link Here
107
    $result->{notes} = $biblioitem->notes;
107
    $result->{notes} = $biblioitem->notes;
108
    $result->{timestamp} = $biblioitem->timestamp;
108
    $result->{timestamp} = $biblioitem->timestamp;
109
109
110
    $result->{biblio_object} = $biblio; # TODO Use this variable directly in the template
111
110
    my $patron = Koha::Patrons->find( $result->{borrowernumber} );
112
    my $patron = Koha::Patrons->find( $result->{borrowernumber} );
111
    if ( $patron ) {
113
    if ( $patron ) {
112
        $result->{borrtitle} = $patron->title;
114
        $result->{borrtitle} = $patron->title;
113
- 

Return to bug 22445