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

(-)a/C4/Biblio.pm (-33 lines)
Lines 30-36 BEGIN { Link Here
30
        AddBiblio
30
        AddBiblio
31
        GetBiblioData
31
        GetBiblioData
32
        GetMarcBiblio
32
        GetMarcBiblio
33
        GetRecordValue
34
        GetISBDView
33
        GetISBDView
35
        GetMarcControlnumber
34
        GetMarcControlnumber
36
        GetMarcNotes
35
        GetMarcNotes
Lines 636-673 sub _check_valid_auth_link { Link Here
636
   return ($field->as_string('abcdefghijklmnopqrstuvwxyz') eq $authorized_heading);
635
   return ($field->as_string('abcdefghijklmnopqrstuvwxyz') eq $authorized_heading);
637
}
636
}
638
637
639
=head2 GetRecordValue
640
641
  my $values = GetRecordValue($field, $record);
642
643
Get MARC fields from the record using the framework mappings for biblio fields.
644
645
=cut
646
647
sub GetRecordValue {
648
    my ( $field, $record ) = @_;
649
650
    if (!$record) {
651
        carp 'GetRecordValue called with undefined record';
652
        return;
653
    }
654
655
    my @result;
656
    my @mss = GetMarcSubfieldStructureFromKohaField("biblio.$field");
657
    foreach my $fldhash ( @mss ) {
658
        my $tag = $fldhash->{tagfield};
659
        my $sub = $fldhash->{tagsubfield};
660
        foreach my $fld ( $record->field($tag) ) {
661
            if( $sub eq '@' || $fld->is_control_field ) {
662
                push @result, $fld->data if $fld->data;
663
            } else {
664
                push @result, grep { $_ } $fld->subfield($sub);
665
            }
666
        }
667
    }
668
    return \@result;
669
}
670
671
=head2 GetBiblioData
638
=head2 GetBiblioData
672
639
673
  $data = &GetBiblioData($biblionumber);
640
  $data = &GetBiblioData($biblionumber);
(-)a/C4/HoldsQueue.pm (-5 / +2 lines)
Lines 134-141 sub GetHoldsQueueItems { Link Here
134
    my @bind_params = ();
134
    my @bind_params = ();
135
    my $query = q/SELECT tmp_holdsqueue.*, biblio.author, items.ccode, items.itype, biblioitems.itemtype, items.location,
135
    my $query = q/SELECT tmp_holdsqueue.*, biblio.author, items.ccode, items.itype, biblioitems.itemtype, items.location,
136
                         items.enumchron, items.cn_sort, biblioitems.publishercode,
136
                         items.enumchron, items.cn_sort, biblioitems.publishercode,
137
                         biblio.copyrightdate, biblio.subtitle, biblio.part_number,
137
                         biblio.copyrightdate, biblio.subtitle, biblio.medium,
138
                         biblio.part_name,
138
                         biblio.part_number, biblio.part_name
139
                         biblioitems.publicationyear, biblioitems.pages, biblioitems.size,
139
                         biblioitems.publicationyear, biblioitems.pages, biblioitems.size,
140
                         biblioitems.isbn, items.copynumber
140
                         biblioitems.isbn, items.copynumber
141
                  FROM tmp_holdsqueue
141
                  FROM tmp_holdsqueue
Lines 158-166 sub GetHoldsQueueItems { Link Here
158
        }
158
        }
159
        delete $row->{itemtype};
159
        delete $row->{itemtype};
160
160
161
        my @subtitles = split(/ \| /, $row->{'subtitle'} // '' );
162
        $row->{'subtitle'} = \@subtitles;
163
164
        push @$items, $row;
161
        push @$items, $row;
165
    }
162
    }
166
    return $items;
163
    return $items;
(-)a/C4/Search.pm (-1 lines)
Lines 1950-1956 sub searchResults { Link Here
1950
1950
1951
        SetUTF8Flag($marcrecord);
1951
        SetUTF8Flag($marcrecord);
1952
        my $oldbiblio = TransformMarcToKoha( $marcrecord, $fw );
1952
        my $oldbiblio = TransformMarcToKoha( $marcrecord, $fw );
1953
        $oldbiblio->{subtitle} = GetRecordValue('subtitle', $marcrecord);
1954
        $oldbiblio->{result_number} = $i + 1;
1953
        $oldbiblio->{result_number} = $i + 1;
1955
1954
1956
        # add imageurl to itemtype if there is one
1955
        # add imageurl to itemtype if there is one
(-)a/C4/ShelfBrowser.pm (-1 / +1 lines)
Lines 223-229 sub GetShelfInfo { Link Here
223
        my $this_biblio = GetBibData($item->{biblionumber});
223
        my $this_biblio = GetBibData($item->{biblionumber});
224
        next unless defined $this_biblio;
224
        next unless defined $this_biblio;
225
        $item->{'title'} = $this_biblio->{'title'};
225
        $item->{'title'} = $this_biblio->{'title'};
226
        $item->{'subtitle'} = C4::Biblio::SplitKohaField($this_biblio->{'subtitle'}),
226
        $item->{'subtitle'} = $this_biblio->{'subtitle'},
227
        $item->{'medium'} = $this_biblio->{'medium'};
227
        $item->{'medium'} = $this_biblio->{'medium'};
228
        $item->{'part_number'} = $this_biblio->{'part_number'};
228
        $item->{'part_number'} = $this_biblio->{'part_number'};
229
        $item->{'part_name'} = $this_biblio->{'part_name'};
229
        $item->{'part_name'} = $this_biblio->{'part_name'};
(-)a/Koha/Biblio.pm (-15 lines)
Lines 78-98 sub metadata { Link Here
78
    return Koha::Biblio::Metadata->_new_from_dbic($metadata);
78
    return Koha::Biblio::Metadata->_new_from_dbic($metadata);
79
}
79
}
80
80
81
=head3 subtitles
82
83
my @subtitles = $biblio->subtitles();
84
85
Returns list of subtitles for a record according to the framework.
86
87
=cut
88
89
sub subtitles {
90
    my ( $self ) = @_;
91
92
    my @subtitles = split( / \| /, $self->subtitle // '' );
93
    return @subtitles;
94
}
95
96
=head3 can_article_request
81
=head3 can_article_request
97
82
98
my $bool = $biblio->can_article_request( $borrower );
83
my $bool = $biblio->can_article_request( $borrower );
(-)a/acqui/neworderbiblio.pl (-1 lines)
Lines 130-136 foreach my $result ( @{$marcresults} ) { Link Here
130
    my $marcrecord = C4::Search::new_record_from_zebra( 'biblioserver', $result );
130
    my $marcrecord = C4::Search::new_record_from_zebra( 'biblioserver', $result );
131
    my $biblio = TransformMarcToKoha( $marcrecord, '' );
131
    my $biblio = TransformMarcToKoha( $marcrecord, '' );
132
132
133
    $biblio->{subtitles} = C4::Biblio::SplitKohaField($biblio->{'subtitle'});
134
    $biblio->{booksellerid} = $booksellerid;
133
    $biblio->{booksellerid} = $booksellerid;
135
    push @results, $biblio;
134
    push @results, $biblio;
136
135
(-)a/basket/basket.pl (-1 lines)
Lines 62-68 foreach my $biblionumber ( @bibs ) { Link Here
62
    my $dat              = &GetBiblioData($biblionumber);
62
    my $dat              = &GetBiblioData($biblionumber);
63
    next unless $dat;
63
    next unless $dat;
64
    my $record           = &GetMarcBiblio({ biblionumber => $biblionumber });
64
    my $record           = &GetMarcBiblio({ biblionumber => $biblionumber });
65
    $dat->{subtitle}     = GetRecordValue('subtitle', $record);
66
    my $marcnotesarray   = GetMarcNotes( $record, $marcflavour );
65
    my $marcnotesarray   = GetMarcNotes( $record, $marcflavour );
67
    my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
66
    my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
68
    my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
67
    my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
(-)a/catalogue/ISBDdetail.pl (+1 lines)
Lines 140-145 $template->param ( Link Here
140
    ocoins => GetCOinSBiblio($record),
140
    ocoins => GetCOinSBiblio($record),
141
    C4::Search::enabled_staff_search_views,
141
    C4::Search::enabled_staff_search_views,
142
    searchid            => scalar $query->param('searchid'),
142
    searchid            => scalar $query->param('searchid'),
143
    biblio              => $biblio,
143
);
144
);
144
145
145
my @allorders_using_biblio = GetOrdersByBiblionumber ($biblionumber);
146
my @allorders_using_biblio = GetOrdersByBiblionumber ($biblionumber);
(-)a/catalogue/MARCdetail.pl (-1 / +2 lines)
Lines 315-321 $template->param ( Link Here
315
	marcview => 1,
315
	marcview => 1,
316
	z3950_search_params		=> C4::Search::z3950_search_args($biblio),
316
	z3950_search_params		=> C4::Search::z3950_search_args($biblio),
317
	C4::Search::enabled_staff_search_views,
317
	C4::Search::enabled_staff_search_views,
318
    searchid            => scalar $query->param('searchid'),
318
    searchid                => scalar $query->param('searchid'),
319
    biblio                  => $biblio_object->unblessed,
319
);
320
);
320
321
321
my @allorders_using_biblio = GetOrdersByBiblionumber ($biblionumber);
322
my @allorders_using_biblio = GetOrdersByBiblionumber ($biblionumber);
(-)a/catalogue/detail.pl (-3 / +1 lines)
Lines 140-147 my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour ); Link Here
140
my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
140
my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
141
my $marcseriesarray  = GetMarcSeries($record,$marcflavour);
141
my $marcseriesarray  = GetMarcSeries($record,$marcflavour);
142
my $marcurlsarray    = GetMarcUrls    ($record,$marcflavour);
142
my $marcurlsarray    = GetMarcUrls    ($record,$marcflavour);
143
my $marchostsarray  = GetMarcHosts($record,$marcflavour);
143
my $marchostsarray   = GetMarcHosts($record,$marcflavour);
144
my $subtitle         = GetRecordValue('subtitle', $record);
145
144
146
my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search->unblessed } };
145
my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search->unblessed } };
147
146
Lines 377-383 $template->param( Link Here
377
    MARCURLS => $marcurlsarray,
376
    MARCURLS => $marcurlsarray,
378
    MARCISBNS => $marcisbnsarray,
377
    MARCISBNS => $marcisbnsarray,
379
    MARCHOSTS => $marchostsarray,
378
    MARCHOSTS => $marchostsarray,
380
    subtitle    => $subtitle,
381
    itemdata_ccode      => $itemfields{ccode},
379
    itemdata_ccode      => $itemfields{ccode},
382
    itemdata_enumchron  => $itemfields{enumchron},
380
    itemdata_enumchron  => $itemfields{enumchron},
383
    itemdata_uri        => $itemfields{uri},
381
    itemdata_uri        => $itemfields{uri},
(-)a/catalogue/moredetail.pl (-3 / +2 lines)
Lines 110-116 if (@hostitems){ Link Here
110
        push (@items,@hostitems);
110
        push (@items,@hostitems);
111
}
111
}
112
112
113
my $subtitle = GetRecordValue('subtitle', $record);
113
my $biblio = Koha::Biblios->find( $biblionumber );
114
114
115
my $totalcount=@all_items;
115
my $totalcount=@all_items;
116
my $showncount=@items;
116
my $showncount=@items;
Lines 220-226 $template->param( Link Here
220
    biblioitemnumber    => $bi,
220
    biblioitemnumber    => $bi,
221
    itemnumber          => $itemnumber,
221
    itemnumber          => $itemnumber,
222
    z3950_search_params => C4::Search::z3950_search_args(GetBiblioData($biblionumber)),
222
    z3950_search_params => C4::Search::z3950_search_args(GetBiblioData($biblionumber)),
223
    subtitle            => $subtitle,
223
    biblio              => $biblio->unblessed,
224
);
224
);
225
$template->param(ONLY_ONE => 1) if ( $itemnumber && $showncount != @items );
225
$template->param(ONLY_ONE => 1) if ( $itemnumber && $showncount != @items );
226
$template->{'VARS'}->{'searchid'} = $query->param('searchid');
226
$template->{'VARS'}->{'searchid'} = $query->param('searchid');
Lines 253-259 $template->param (countorders => $count_orders_using_biblio); Link Here
253
my $count_deletedorders_using_biblio = scalar @deletedorders_using_biblio ;
253
my $count_deletedorders_using_biblio = scalar @deletedorders_using_biblio ;
254
$template->param (countdeletedorders => $count_deletedorders_using_biblio);
254
$template->param (countdeletedorders => $count_deletedorders_using_biblio);
255
255
256
my $biblio = Koha::Biblios->find( $biblionumber );
257
my $holds = $biblio->holds;
256
my $holds = $biblio->holds;
258
$template->param( holdcount => $holds->count );
257
$template->param( holdcount => $holds->count );
259
258
(-)a/cataloguing/moveitem.pl (-1 / +1 lines)
Lines 61-67 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
61
61
62
62
63
my $biblio = Koha::Biblios->find( $biblionumber );
63
my $biblio = Koha::Biblios->find( $biblionumber );
64
$template->param(bibliotitle => $biblio->title);
64
$template->param(biblio => $biblio);
65
$template->param(biblionumber => $biblionumber);
65
$template->param(biblionumber => $biblionumber);
66
66
67
# If we already have the barcode of the item to move and the biblionumber to move the item to
67
# If we already have the barcode of the item to move and the biblionumber to move the item to
(-)a/circ/reserveratios.pl (-1 / +4 lines)
Lines 164-170 while ( my $data = $sth->fetchrow_hashref ) { Link Here
164
            priority           => $data->{priority},
164
            priority           => $data->{priority},
165
            name               => $data->{borrower},
165
            name               => $data->{borrower},
166
            title              => $data->{title},
166
            title              => $data->{title},
167
            subtitle           => C4::Biblio::SplitKohaField($data->{'subtitle'}),
167
            subtitle           => $data->{subtitle},
168
            medium             => $data->{medium},
169
            part_number        => $data->{part_number},
170
            part_name          => $data->{part_name},
168
            author             => $data->{author},
171
            author             => $data->{author},
169
            itemnum            => $data->{itemnumber},
172
            itemnum            => $data->{itemnumber},
170
            biblionumber       => $data->{biblionumber},
173
            biblionumber       => $data->{biblionumber},
(-)a/circ/transferstoreceive.pl (-1 / +1 lines)
Lines 99-105 while ( my $library = $libraries->next ) { Link Here
99
            %getransf = (
99
            %getransf = (
100
                %getransf,
100
                %getransf,
101
                title          => $biblio->title,
101
                title          => $biblio->title,
102
                subtitle       => C4::Biblio::SplitKohaField($biblio->{'subtitle'}),
102
                subtitle       => $biblio->subtitle,
103
                medium         => $biblio->medium,
103
                medium         => $biblio->medium,
104
                part_number    => $biblio->part_number,
104
                part_number    => $biblio->part_number,
105
                part_name      => $biblio->part_name,
105
                part_name      => $biblio->part_name,
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+6 lines)
Lines 4050-4055 span { Link Here
4050
    width: 100% !important;
4050
    width: 100% !important;
4051
}
4051
}
4052
4052
4053
.ar-title, .hq-title {
4054
    .biblio-title {
4055
        font-weight: bold;
4056
    }
4057
}
4058
4053
#stockrotation {
4059
#stockrotation {
4054
    h3 {
4060
    h3 {
4055
        margin: 30px 0 10px 0;
4061
        margin: 30px 0 10px 0;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title-head.inc (+10 lines)
Line 0 Link Here
1
[% IF ( biblio.title ) %]
2
    [% biblio.title | html %]
3
[% ELSE %]
4
    No title
5
[% END %]
6
[% biblio.medium | html %]
7
[% FOREACH subtitle IN biblio.subtitle.split(' \| ') %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
8
    [% subtitle | html %]
9
[% END %]
10
[% biblio.part_number | html %] [% biblio.part_name | html %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-title.inc (+17 lines)
Line 0 Link Here
1
[% IF ( biblio.title ) %]
2
    <span class="biblio-title">[% biblio.title | html %]</span>
3
[% ELSE %]
4
    No title
5
[% END %]
6
[% IF ( biblio.medium ) %]
7
    <span class="biblio-medium">[% biblio.medium | html %]</span>
8
[% END %]
9
[% FOREACH subtitle IN biblio.subtitle.split(' \\| ') %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
10
    <span class="subtitle">[% subtitle | html %]</span>
11
[% END %]
12
[% IF ( biblio.part_number ) %]
13
    <span class="part-number">[% biblio.part_number | html %]</span>
14
[% END %]
15
[% IF ( biblio.part_name ) %]
16
    <span class="part-name">[% biblio.part_name | html %]</span>
17
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc (-1 / +1 lines)
Lines 31-37 Link Here
31
31
32
    [% IF Koha.Preference('ArticleRequests') %]
32
    [% IF Koha.Preference('ArticleRequests') %]
33
        [% IF ( article_requests_view ) %]<li class="active">[% ELSE %]<li>[% END %]
33
        [% IF ( article_requests_view ) %]<li class="active">[% ELSE %]<li>[% END %]
34
        <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% IF ( object ) %][% object | uri %][% ELSE %][% biblionumber | uri %][% END %]">Article requests ([% Biblio.ArticleRequestsActiveCount( biblio_object_id ) | html %])</a></li>
34
        <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblio_object_id | url  %]">Article requests ([% Biblio.ArticleRequestsActiveCount( biblio_object_id ) | html %])</a></li>
35
    [% END %]
35
    [% END %]
36
36
37
    [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&amp;biblionumber=[% biblio_object_id | url  %]">Subscriptions ([% subscriptionsnumber | html %])</a></li>[% END %]
37
    [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&amp;biblionumber=[% biblio_object_id | url  %]">Subscriptions ([% subscriptionsnumber | html %])</a></li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc (-1 / +1 lines)
Lines 22-28 Link Here
22
                <td><span title="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</span></td>
22
                <td><span title="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</span></td>
23
                <td><span title="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</span></td>
23
                <td><span title="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</span></td>
24
                <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
24
                <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
25
                    [% reserveloo.biblio.title | html %] [% FOREACH subtitl IN reserveloo.biblio.subtitles %] [% subtitl | html %] [% reserveloo.biblio.part_number | html %] [% reserveloo.biblio.part_name | html %][% END %]
25
                        [% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio %]
26
                    </a>
26
                    </a>
27
                        [% UNLESS ( item_level_itypes ) %]
27
                        [% UNLESS ( item_level_itypes ) %]
28
                            [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %]&nbsp; (<b>[% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]</b>)
28
                            [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %]&nbsp; (<b>[% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]</b>)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt (-2 / +1 lines)
Lines 49-56 Link Here
49
      [% FOREACH biblio IN resultsloop %]
49
      [% FOREACH biblio IN resultsloop %]
50
        <tr>
50
        <tr>
51
            <td>
51
            <td>
52
                <p><span class="title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a></span>
52
                <p><span class="title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' %]</a></span>
53
                [% FOREACH subtitle IN biblio.subtitles %] <span class="subtitle">[% subtitle | html %]</span>[% END %]
54
                [% IF ( biblio.author ) %]  by <span class="author">[% biblio.author | html %]</span>,[% END %]</p>
53
                [% IF ( biblio.author ) %]  by <span class="author">[% biblio.author | html %]</span>,[% END %]</p>
55
                <p>[% IF ( biblio.isbn ) %] [% biblio.isbn | html %][% END %]
54
                <p>[% IF ( biblio.isbn ) %] [% biblio.isbn | html %][% END %]
56
                [% IF ( biblio.pages ) %] - [% biblio.pages | html %][% END %]
55
                [% IF ( biblio.pages ) %] - [% biblio.pages | html %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-6 / +2 lines)
Lines 70-77 Link Here
70
                            [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
70
                            [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
71
                                <h3>
71
                                <h3>
72
                                    <input type="checkbox" class="select_record noprint" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]" />
72
                                    <input type="checkbox" class="select_record noprint" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]" />
73
                                    [% BIBLIO_RESULT.title |html %]
73
                                    [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT %]
74
                                    [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl | html %][% END %]
75
                                    [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author | html %][% END %]
74
                                    [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author | html %][% END %]
76
                                </h3>
75
                                </h3>
77
                                <!-- COinS / Openurl -->
76
                                <!-- COinS / Openurl -->
Lines 264-273 Link Here
264
                                        </td>
263
                                        </td>
265
                                        <td>
264
                                        <td>
266
                                            <a href="[% BIBLIO_RESULT.dest | url %]?biblionumber=[% BIBLIO_RESULT.biblionumber | uri %]" class="open_title">
265
                                            <a href="[% BIBLIO_RESULT.dest | url %]?biblionumber=[% BIBLIO_RESULT.biblionumber | uri %]" class="open_title">
267
                                                [% BIBLIO_RESULT.title |html %]
266
                                                [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT %]
268
                                                [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %]
269
                                                    [% subtitl | html %]
270
                                                [% END %]
271
                                            </a>
267
                                            </a>
272
                                            [% BIBLIO_RESULT.author | html %]
268
                                            [% BIBLIO_RESULT.author | html %]
273
                                            <p>
269
                                            <p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt (+1 lines)
Lines 33-38 Your cart Link Here
33
            <span>
33
            <span>
34
                [% BIBLIO_RESULT.title | $raw %]
34
                [% BIBLIO_RESULT.title | $raw %]
35
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle | $raw %][% END %]
35
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle | $raw %][% END %]
36
                [% BIBLIO_RESULT.part_number | $raw %] [% BIBLIO_RESULT.part_name | $raw %]
36
            </span>
37
            </span>
37
38
38
            <p>
39
            <p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-2 / +2 lines)
Lines 6-12 Link Here
6
  [% IF ( unknownbiblionumber ) %]
6
  [% IF ( unknownbiblionumber ) %]
7
    Unknown record
7
    Unknown record
8
  [% ELSE %]
8
  [% ELSE %]
9
    ISBD details
9
    ISBD details for [% INCLUDE 'biblio-title-head.inc' %]
10
  [% END %]
10
  [% END %]
11
</title>
11
</title>
12
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 20-26 Link Here
20
  [% IF ( unknownbiblionumber ) %]
20
  [% IF ( unknownbiblionumber ) %]
21
    Unknown record
21
    Unknown record
22
  [% ELSE %]
22
  [% ELSE %]
23
    ISBD details
23
    ISBD details for [% INCLUDE 'biblio-title.inc' %]
24
  [% END %]
24
  [% END %]
25
</div>
25
</div>
26
26
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tt (-2 / +2 lines)
Lines 6-12 Link Here
6
  [% IF ( unknownbiblionumber ) %]
6
  [% IF ( unknownbiblionumber ) %]
7
    Unknown record
7
    Unknown record
8
  [% ELSE %]
8
  [% ELSE %]
9
    MARC details for [% bibliotitle | html %]
9
    MARC details for [% INCLUDE 'biblio-title-head.inc' %]
10
  [% END %]
10
  [% END %]
11
</title>
11
</title>
12
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 21-27 Link Here
21
  [% IF ( unknownbiblionumber ) %]
21
  [% IF ( unknownbiblionumber ) %]
22
    Unknown record
22
    Unknown record
23
  [% ELSE %]
23
  [% ELSE %]
24
    MARC details for <i>[% bibliotitle | html %]</i>
24
    MARC details for <i>[% INCLUDE 'biblio-title.inc' %]</i>
25
  [% END %]
25
  [% END %]
26
</div>
26
</div>
27
27
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +3 lines)
Lines 6-11 Link Here
6
[% USE Branches %]
6
[% USE Branches %]
7
[% USE Biblio %]
7
[% USE Biblio %]
8
[% USE ColumnsSettings %]
8
[% USE ColumnsSettings %]
9
[% USE Stash %]
9
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
10
[% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
10
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
11
[% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
11
12
Lines 34-40 Link Here
34
  [% IF ( unknownbiblionumber ) %]
35
  [% IF ( unknownbiblionumber ) %]
35
    Unknown record
36
    Unknown record
36
  [% ELSE %]
37
  [% ELSE %]
37
    Details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl | html %][% END %]
38
    Details for [% INCLUDE 'biblio-title-head.inc' biblio=Stash.stash() %]
38
  [% END %]
39
  [% END %]
39
</title>
40
</title>
40
[% INCLUDE 'doc-head-close.inc' %]
41
[% INCLUDE 'doc-head-close.inc' %]
Lines 49-55 Link Here
49
  [% IF ( unknownbiblionumber ) %]
50
  [% IF ( unknownbiblionumber ) %]
50
    Unknown record
51
    Unknown record
51
  [% ELSE %]
52
  [% ELSE %]
52
    Details for <i>[% title | html %]  [% FOREACH subtitl IN subtitle %] [% subtitl | html %][% END %]</i>
53
    Details for <i>[% INCLUDE 'biblio-title.inc' biblio=Stash.stash() %]</i>
53
  [% END %]
54
  [% END %]
54
</div>
55
</div>
55
56
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/imageviewer.tt (-2 / +2 lines)
Lines 2-8 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% biblio.title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl | html %][% END %]</title>
5
<title>Koha &rsaquo; Catalog &rsaquo; Details for [% INCLUDE 'biblio-title-head.inc' %]</title>
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
7
[% IF ( LocalCoverImages == 1 ) %]
7
[% IF ( LocalCoverImages == 1 ) %]
8
<style>
8
<style>
Lines 39-45 img.thumbnail { Link Here
39
[% INCLUDE 'header.inc' %]
39
[% INCLUDE 'header.inc' %]
40
[% INCLUDE 'cat-search.inc' %]
40
[% INCLUDE 'cat-search.inc' %]
41
41
42
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Images for <i>[% biblio.title | html %]  [% FOREACH subtitl IN subtitle %] [% subtitl | html %][% END %]</i></div>
42
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Images for <i>[% INCLUDE 'biblio-title.inc' %]</i></div>
43
43
44
<div class="main container-fluid">
44
<div class="main container-fluid">
45
    <div class="row">
45
    <div class="row">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tt (-3 / +3 lines)
Lines 6-12 Link Here
6
[% USE ColumnsSettings %]
6
[% USE ColumnsSettings %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% biblio.title | html %]</title>
9
<title>Koha &rsaquo; Catalog &rsaquo; Checkout history for [% INCLUDE 'biblio-title-head.inc' %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
11
</head>
11
</head>
12
12
Lines 15-28 Link Here
15
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'cat-search.inc' %]
16
[% INCLUDE 'cat-search.inc' %]
17
17
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Checkout history for <i>[% biblio.title | html %]</i></div>
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Checkout history for <i>[% INCLUDE 'biblio-title.inc' %]</i></div>
19
19
20
<div class="main container-fluid">
20
<div class="main container-fluid">
21
    <div class="row">
21
    <div class="row">
22
        <div class="col-sm-10 col-sm-push-2">
22
        <div class="col-sm-10 col-sm-push-2">
23
            <main>
23
            <main>
24
24
25
<h1>Checkout history for [% biblio.title | html %]</h1>
25
<h1>Checkout history for [% INCLUDE 'biblio-title.inc' %]</h1>
26
[% IF biblio.author %]<h3>by [% biblio.author | html %]</h3>[% END %]
26
[% IF biblio.author %]<h3>by [% biblio.author | html %]</h3>[% END %]
27
27
28
[% SET show_patron_column = Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
28
[% SET show_patron_column = Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-2 / +2 lines)
Lines 6-12 Link Here
6
[% USE Price %]
6
[% USE Price %]
7
[% SET footerjs = 1 %]
7
[% SET footerjs = 1 %]
8
[% INCLUDE 'doc-head-open.inc' %]
8
[% INCLUDE 'doc-head-open.inc' %]
9
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl | html %][% END %]</title>
9
<title>Koha &rsaquo; Catalog &rsaquo; Item details for [% INCLUDE 'biblio-title-head.inc' %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
11
<style>h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
11
<style>h3{padding-top: 1em; border-top: 2px solid #CCCCCC;}#exportLabelexportModal_{border-top: 0px;}</style>
12
</head>
12
</head>
Lines 15-21 Link Here
15
[% INCLUDE 'header.inc' %]
15
[% INCLUDE 'header.inc' %]
16
[% INCLUDE 'cat-search.inc' %]
16
[% INCLUDE 'cat-search.inc' %]
17
17
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Item details for <i>[% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl | html %][% END %]</i></div>
18
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Item details for <i>[% INCLUDE 'biblio-title.inc' %]</i></div>
19
19
20
<div class="main container-fluid">
20
<div class="main container-fluid">
21
    <div class="row">
21
    <div class="row">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/stockrotation.tt (-3 / +3 lines)
Lines 4-10 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% SET footerjs = 1 %]
5
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Catalog &rsaquo; Stock rotation details for [% biblio.title | html %]</title>
7
<title>Koha &rsaquo; Catalog &rsaquo; Stock rotation details for [% INCLUDE 'biblio-title-head.inc' %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
</head>
9
</head>
10
<body id="catalog_stockrotation" class="catalog">
10
<body id="catalog_stockrotation" class="catalog">
Lines 12-18 Link Here
12
[% INCLUDE 'header.inc' %]
12
[% INCLUDE 'header.inc' %]
13
[% INCLUDE 'cat-search.inc' %]
13
[% INCLUDE 'cat-search.inc' %]
14
14
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Stock rotation details for <i>[% biblio.title | html %][% FOREACH subtitle IN biblio.subtitles %][% subtitle | html %][% END %]</i></div>
15
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Stock rotation details for <i>[% INCLUDE 'biblio-title.inc' %]</i></div>
16
16
17
<div class="main container-fluid">
17
<div class="main container-fluid">
18
    <div class="row">
18
    <div class="row">
Lines 22-28 Link Here
22
<div id="catalogue_detail_biblio">
22
<div id="catalogue_detail_biblio">
23
23
24
    [% IF no_op_set %]
24
    [% IF no_op_set %]
25
        <h1 class="title">Stock rotation details for [% biblio.title | html %]</h1>
25
        <h1 class="title">Stock rotation details for [% INCLUDE 'biblio-title.inc' %]</h1>
26
        [% IF rotas.count > 0 && items.size > 0 %]
26
        [% IF rotas.count > 0 && items.size > 0 %]
27
27
28
            <table class="items_table dataTable no-footer" role="grid">
28
            <table class="items_table dataTable no-footer" role="grid">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-2 / +1 lines)
Lines 75-82 Link Here
75
            <td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber | html %]" name="biblionumber" value="[% resultsloo.biblionumber | html %]" /></td>
75
            <td><input type="checkbox" class="selection" id="bib[% resultsloo.biblionumber | html %]" name="biblionumber" value="[% resultsloo.biblionumber | html %]" /></td>
76
            <td>
76
            <td>
77
                <p>
77
                <p>
78
                    <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% resultsloo.biblionumber | uri %]">[% resultsloo.title | html %]</a>
78
                    <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% resultsloo.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=resultsloo %]</a>
79
                [% FOREACH subtitl IN resultsloo.subtitle %][% subtitl | html %][% END %]</p>
80
                [% IF ( resultsloo.summary ) %]
79
                [% IF ( resultsloo.summary ) %]
81
                    <p>[% resultsloo.summary | html %]</p>
80
                    <p>[% resultsloo.summary | html %]</p>
82
                [% ELSE %]
81
                [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-4 / +1 lines)
Lines 99-108 div#result { margin-top: 1em; } Link Here
99
                    <input type="radio" value="[% record.biblionumber | html %]" id="ref_biblionumber[% record.biblionumber | html %]" name="ref_biblionumber" onclick="changeFramework('[% record.frameworkcode | html %]')" />
99
                    <input type="radio" value="[% record.biblionumber | html %]" id="ref_biblionumber[% record.biblionumber | html %]" name="ref_biblionumber" onclick="changeFramework('[% record.frameworkcode | html %]')" />
100
                [% END %]
100
                [% END %]
101
                <label for="ref_biblionumber[% record.biblionumber | html %]">
101
                <label for="ref_biblionumber[% record.biblionumber | html %]">
102
                    [% record.data.title | html %]
102
                    [% INCLUDE 'biblio-title.inc' biblio=record.data %]
103
                    [% FOREACH subtitle IN record.subtitles %]
104
                        [% subtitle | html %]
105
                    [% END %]
106
                    ([% record.biblionumber | uri %]) <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% record.biblionumber | uri %]" class="previewData">View MARC</a>
103
                    ([% record.biblionumber | uri %]) <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% record.biblionumber | uri %]" class="previewData">View MARC</a>
107
                </label>
104
                </label>
108
            </li>
105
            </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt (-2 / +2 lines)
Lines 1-11 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Cataloging &rsaquo; Attach an item to [% bibliotitle | html %]</title>
2
<title>Koha &rsaquo; Cataloging &rsaquo; Attach an item to [% INCLUDE 'biblio-title-head.inc' %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
4
</head>
5
<body id="catalog_moveitem" class="catalog">
5
<body id="catalog_moveitem" class="catalog">
6
[% INCLUDE 'header.inc' %]
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% bibliotitle | html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle | html %][% END %]</i></div>
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% INCLUDE 'biblio-title.inc' %]</i></div>
9
9
10
<div class="main container-fluid">
10
<div class="main container-fluid">
11
    <div class="row">
11
    <div class="row">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-4 / +2 lines)
Lines 129-136 Link Here
129
                                        <td class="ar-title">
129
                                        <td class="ar-title">
130
                                            <p>
130
                                            <p>
131
                                                <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber | uri %]">
131
                                                <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber | uri %]">
132
                                                    <strong>[% ar.biblio.title | html %]</strong>
132
                                                    [% INCLUDE 'biblio-title.inc' biblio=ar.biblio %]
133
                                                    [% FOREACH s IN itemsloo.subtitle %] [% s | html %][% END %]
134
                                                </a>
133
                                                </a>
135
                                            </p>
134
                                            </p>
136
135
Lines 237-244 Link Here
237
                                        <td class="ar-title">
236
                                        <td class="ar-title">
238
                                            <p>
237
                                            <p>
239
                                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber | uri %]">
238
                                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ar.biblionumber | uri %]">
240
                                                    <strong>[% ar.biblio.title | html %]</strong>
239
                                                    [% INCLUDE 'biblio-title.inc' biblio=ar.biblio %]
241
                                                    [% FOREACH s IN itemsloo.subtitle %] [% s | html %][% END %]
242
                                                </a>
240
                                                </a>
243
                                            </p>
241
                                            </p>
244
242
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt (-1 / +1 lines)
Lines 45-51 Link Here
45
                        [% overduesloo.date_due | html %]
45
                        [% overduesloo.date_due | html %]
46
                    </td>
46
                    </td>
47
                    <td>
47
                    <td>
48
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% overduesloo.title | html %] [% IF ( overduesloo.subtitle ) %][% overduesloo.subtitle | html %][% END %]</a> [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %]
48
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=overduesloo %]</a> [% IF ( overduesloo.author ) %] by [% overduesloo.author | html %][% END %]
49
49
50
                            <br />Barcode : [% overduesloo.barcode | html %]
50
                            <br />Barcode : [% overduesloo.barcode | html %]
51
                    </td>
51
                    </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-1 / +1 lines)
Lines 117-123 Link Here
117
            [% END %]
117
            [% END %]
118
            <td>[% checkout_info.barcode | html %]</td>
118
            <td>[% checkout_info.barcode | html %]</td>
119
            <td>
119
            <td>
120
              <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout_info.biblio.biblionumber | uri %]&amp;type=intra"><strong>[% checkout_info.biblio.title | html %][% FOREACH subtitle IN checkout_info.biblio.subtitles %] [% subtitle | html %][% END %]</strong></a>[% IF checkout_info.biblio.author %], by [% checkout_info.biblio.author | html %][% END %][% IF ( checkout_info.item.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes | html %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.biblio.biblionumber | html %]&amp;itemnumber=[% checkout_info.item.itemnumber | html %]#item[% checkout_info.item.itemnumber | html %]">[% checkout_info.item.barcode | html %]</a>
120
              <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% checkout_info.biblio.biblionumber | uri %]&amp;type=intra"><strong>[% INCLUDE 'biblio-title.inc' biblio=checkout_info.biblio %]</strong></a>[% IF checkout_info.biblio.author %], by [% checkout_info.biblio.author | html %][% END %][% IF ( checkout_info.item.itemnotes ) %]- <span class="circ-hlt">[% checkout_info.item.itemnotes | html %]</span>[% END %] <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout_info.biblio.biblionumber | html %]&amp;itemnumber=[% checkout_info.item.itemnumber | html %]#item[% checkout_info.item.itemnumber | html %]">[% checkout_info.item.barcode | html %]</a>
121
            </td>
121
            </td>
122
            <td>
122
            <td>
123
              [% IF checkout_info.NEEDSCONFIRMATION %]
123
              [% IF checkout_info.NEEDSCONFIRMATION %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-1 / +1 lines)
Lines 67-73 Link Here
67
                [% IF ( overdueloo.phone ) %]([% overdueloo.phone | html %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile | html %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro | html %])[% END %]</td>
67
                [% IF ( overdueloo.phone ) %]([% overdueloo.phone | html %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile | html %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro | html %])[% END %]</td>
68
            [% END %]
68
            [% END %]
69
          <td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td>
69
          <td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td>
70
          <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title | html %]  [% overdueloo.subtitle | html %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td>
70
          <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=overdueloo %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td>
71
          <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber | uri %]&amp;itemnumber=[% overdueloo.itemnum | uri %]#item[% overdueloo.itemnum | uri %]">[% overdueloo.barcode | html %]</a></td>
71
          <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber | uri %]&amp;itemnumber=[% overdueloo.itemnum | uri %]#item[% overdueloo.itemnum | uri %]">[% overdueloo.barcode | html %]</a></td>
72
          <td>[% overdueloo.itemcallnumber | html %]</td>
72
          <td>[% overdueloo.itemcallnumber | html %]</td>
73
          <td>[% overdueloo.replacementprice | $Price %]</td>
73
          <td>[% overdueloo.replacementprice | $Price %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt (-1 / +2 lines)
Lines 77-83 Link Here
77
            <td>
77
            <td>
78
            <p>
78
            <p>
79
                [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
79
                [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
80
                [% reserveloo.title | html %] [% FOREACH s IN reserveloo.subtitle %] [% s | html %][% END %] [% reserveloo.part_number | html %] [% reserveloo.part_name | html %]</a></p>
80
                    [% INCLUDE 'biblio-title.inc' biblio=reserveloo %]
81
                </a></p>
81
                [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author | html %]</p>[% END %]
82
                [% IF ( reserveloo.author ) %]<p> by [% reserveloo.author | html %]</p>[% END %]
82
            </td>
83
            </td>
83
        [% ELSE %]
84
        [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/renew.tt (-9 / +9 lines)
Lines 36-46 Link Here
36
36
37
                            [% ELSIF error == "no_checkout" %]
37
                            [% ELSIF error == "no_checkout" %]
38
38
39
                                <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber | uri %]">[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | html %]&amp;biblionumber=[% item.biblio.biblionumber | html %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber | html %]#item[% item.itemnumber | html %]">[% item.barcode | html %]</a> ) is not checked out to a patron.</p>
39
                                <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=item.biblio %]</a> ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | html %]&amp;biblionumber=[% item.biblio.biblionumber | html %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber | html %]#item[% item.itemnumber | html %]">[% item.barcode | html %]</a> ) is not checked out to a patron.</p>
40
40
41
                            [% ELSIF error == "too_many" %]
41
                            [% ELSIF error == "too_many" %]
42
42
43
                                <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been renewed the maximum number of times by [% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | uri %]"> [% borrower.cardnumber | html %] </a> )</p>
43
                                <p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been renewed the maximum number of times by [% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | uri %]"> [% borrower.cardnumber | html %] </a> )</p>
44
44
45
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
45
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
46
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
46
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
Lines 52-58 Link Here
52
52
53
                            [% ELSIF error == "too_soon" %]
53
                            [% ELSIF error == "too_soon" %]
54
54
55
                                <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
55
                                <p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
56
56
57
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
57
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
58
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
58
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
Lines 64-70 Link Here
64
64
65
                            [% ELSIF error == "auto_too_soon" %]
65
                            [% ELSIF error == "auto_too_soon" %]
66
66
67
                                <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
67
                                <p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed before [% soonestrenewdate | $KohaDates %]. </p>
68
68
69
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
69
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
70
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
70
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
Lines 76-82 Link Here
76
76
77
                            [% ELSIF error == "auto_too_late" %]
77
                            [% ELSIF error == "auto_too_late" %]
78
78
79
                                <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed anymore since [% latestautorenewdate | $KohaDates %]. </p>
79
                                <p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed anymore since [% latestautorenewdate | $KohaDates %]. </p>
80
80
81
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
81
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
82
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
82
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
Lines 88-94 Link Here
88
88
89
                            [% ELSIF error == "auto_account_expired" %]
89
                            [% ELSIF error == "auto_account_expired" %]
90
90
91
                                <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed because the patron's account is expired</p>
91
                                <p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal and cannot be renewed because the patron's account is expired</p>
92
92
93
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
93
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
94
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
94
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
Lines 100-106 Link Here
100
100
101
                            [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %]
101
                            [% ELSIF error == "auto_renew" or error == "auto_too_much_oweing" %]
102
102
103
                                <p>[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal. </p>
103
                                <p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ) has been scheduled for automatic renewal. </p>
104
104
105
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
105
                                [% IF Koha.Preference('AllowRenewalLimitOverride') %]
106
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
106
                                    <form method="post" action="/cgi-bin/koha/circ/renew.pl">
Lines 112-118 Link Here
112
112
113
                            [% ELSIF error == "on_reserve" %]
113
                            [% ELSIF error == "on_reserve" %]
114
114
115
                                <p>This item is on hold for another patron.</p>
115
                                <p>[% INCLUDE 'biblio-title.inc' biblio=item.biblio %] ( [% item.barcode | html %] ): This item is on hold for another patron.</p>
116
116
117
                                <form method="post" action="/cgi-bin/koha/circ/renew.pl">
117
                                <form method="post" action="/cgi-bin/koha/circ/renew.pl">
118
                                    <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
118
                                    <input type="hidden" name="barcode" value="[% item.barcode | html %]"/>
Lines 148-154 Link Here
148
                    <div class="dialog message">
148
                    <div class="dialog message">
149
                        <h3>Item renewed:</h3>
149
                        <h3>Item renewed:</h3>
150
                        <p>
150
                        <p>
151
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber | uri %]">[% item.biblio.title | html %] [% item.biblioitem.subtitle | html %]</a>
151
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=item.biblio %]</a>
152
                            ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | uri %]&amp;biblionumber=[% item.biblio.biblionumber | uri %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a> )
152
                            ( <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | uri %]&amp;biblionumber=[% item.biblio.biblionumber | uri %]&amp;bi=[% item.biblioitemnumber.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a> )
153
                            renewed for
153
                            renewed for
154
                            [% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | uri %]"> [% borrower.cardnumber | html %] </a> )
154
                            [% borrower.firstname | html %] [% borrower.surname | html %] ( <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrower.borrowernumber | uri %]"> [% borrower.cardnumber | html %] </a> )
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt (-2 / +2 lines)
Lines 21-27 Link Here
21
        <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
21
        <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
22
        [% UNLESS blocking_error %]
22
        [% UNLESS blocking_error %]
23
        &rsaquo;
23
        &rsaquo;
24
        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">[% biblio.title | html %]</a>
24
        <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' %]</a>
25
        &rsaquo;
25
        &rsaquo;
26
        Request article
26
        Request article
27
        [% END %]
27
        [% END %]
Lines 33-39 Link Here
33
        <div class="col-sm-10 col-sm-push-2">
33
        <div class="col-sm-10 col-sm-push-2">
34
            <main>
34
            <main>
35
35
36
                    <h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id | uri %]">[% biblio.title | html %]</a></h1>
36
                    <h1>Request article from <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.id | uri %]">[% INCLUDE 'biblio-title.inc' %]</a></h1>
37
                    [% IF no_patrons_found %]
37
                    [% IF no_patrons_found %]
38
                        <div class="dialog alert">
38
                        <div class="dialog alert">
39
                            <h3>Patron not found</h3>
39
                            <h3>Patron not found</h3>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt (-1 / +1 lines)
Lines 57-63 Link Here
57
            <td><p>[% reserveloo.reservecount | html %]</p></td>
57
            <td><p>[% reserveloo.reservecount | html %]</p></td>
58
            <td><p>[% reserveloo.itemcount | html %]</p></td>
58
            <td><p>[% reserveloo.itemcount | html %]</p></td>
59
            <td><a href="#" class="ratiolimit">[% reserveloo.thisratio | html %]</a></td>
59
            <td><a href="#" class="ratiolimit">[% reserveloo.thisratio | html %]</a></td>
60
            <td> [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% reserveloo.title | html %] [% IF ( reserveloo.subtitle ) %][% FOREACH subtitl IN reserveloo.subtitle %][% subtitl | html %][% END %][% END %]</a>[% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %]
60
            <td> [% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=reserveloo %]</a>[% IF ( reserveloo.author ) %] by [% reserveloo.author | html %][% END %]
61
            </td>
61
            </td>
62
            <td>
62
            <td>
63
                  <ul>
63
                  <ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt (-1 / +1 lines)
Lines 52-58 Link Here
52
                [% END %]
52
                [% END %]
53
                    <td><p><span title="[% reser.datetransfer | html %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff | html %] days late</span>[% END %]</td>
53
                    <td><p><span title="[% reser.datetransfer | html %]">[% reser.datetransfer | $KohaDates %]</span></p> [% IF ( reser.messcompa ) %]<span class="error">Transfer is [% reser.diff | html %] days late</span>[% END %]</td>
54
                    <td>
54
                    <td>
55
                        [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% reser.title | html %] [% IF ( reser.subtitle ) %] [% FOREACH subtitl IN reser.subtitle %][% subtitl | html %][% END %][% END %]</a> [% IF ( reser.author ) %]by [% reser.author | html %][% END %]
55
                        [% INCLUDE 'biblio-default-view.inc' biblionumber = reser.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=reser %]</a> [% IF ( reser.author ) %]by [% reser.author | html %][% END %]
56
                            [% IF ( reser.itemtype ) %] (<b>[% reser.itemtype | html %]</b>)[% END %]
56
                            [% IF ( reser.itemtype ) %] (<b>[% reser.itemtype | html %]</b>)[% END %]
57
                            <br />Barcode: [% reser.barcode | html %]
57
                            <br />Barcode: [% reser.barcode | html %]
58
                    </td>
58
                    </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt (-1 / +1 lines)
Lines 125-131 Link Here
125
            <td class="hq-title">
125
            <td class="hq-title">
126
                <p>
126
                <p>
127
                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber | uri %]">
127
                    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemsloo.biblionumber | uri %]">
128
                        <strong>[% itemsloo.title | html %]</strong> [% FOREACH s IN itemsloo.subtitle %] [% s | html %][% END %] [% itemsloo.part_number | html %] [% itemsloo.part_name | html %]
128
                        [% INCLUDE 'biblio-title.inc' biblio=itemsloo %]
129
                    </a>
129
                    </a>
130
                </p>
130
                </p>
131
                <p>
131
                <p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt (-1 / +1 lines)
Lines 57-63 Link Here
57
      <tbody>
57
      <tbody>
58
      [% FOREACH hold IN holds %]
58
      [% FOREACH hold IN holds %]
59
        <tr>
59
        <tr>
60
          <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% hold.biblio.biblionumber | uri %]">[% hold.biblio.title | html %]</a></td>
60
          <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% hold.biblio.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=hold.biblio %]</a></td>
61
          <td>[% hold.biblio.author | html %]</td>
61
          <td>[% hold.biblio.author | html %]</td>
62
          <td>[% hold.item.barcode | html %]</td>
62
          <td>[% hold.item.barcode | html %]</td>
63
          <td>[% Branches.GetName( hold.branchcode ) | html %]</td>
63
          <td>[% Branches.GetName( hold.branchcode ) | html %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (-1 / +1 lines)
Lines 73-79 Link Here
73
          <td>
73
          <td>
74
            <span title="[% issue.issuestimestamp | html %]">[% issue.issuestimestamp | $KohaDates  with_hours => 1 %]</span>
74
            <span title="[% issue.issuestimestamp | html %]">[% issue.issuestimestamp | $KohaDates  with_hours => 1 %]</span>
75
          </td>
75
          </td>
76
          <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issue.biblionumber | uri %]">[% issue.title | html %]</a></td>
76
          <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% issue.biblionumber | uri %]">[% INCLUDE 'biblio-title.inc' biblio=issue %]</a></td>
77
77
78
          <td>[% issue.author | html %]</td>
78
          <td>[% issue.author | html %]</td>
79
79
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-4 / +4 lines)
Lines 10-16 Link Here
10
[% SET footerjs = 1 %]
10
[% SET footerjs = 1 %]
11
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
12
[% UNLESS ( multi_hold ) %]
12
[% UNLESS ( multi_hold ) %]
13
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Place a hold on [% title | html %]</title>
13
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Place a hold on [% INCLUDE 'biblio-title-head.inc' %]</title>
14
[% ELSE %]
14
[% ELSE %]
15
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Confirm holds</title>
15
    <title>Koha &rsaquo; Circulation &rsaquo; Holds &rsaquo; Confirm holds</title>
16
[% END %]
16
[% END %]
Lines 22-28 Link Here
22
[% INCLUDE 'circ-search.inc' %]
22
[% INCLUDE 'circ-search.inc' %]
23
23
24
[% UNLESS ( multi_hold ) %]
24
[% UNLESS ( multi_hold ) %]
25
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | html %]">[% title | html %]</a> &rsaquo; Place a hold on [% title | html %]</div>
25
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | html %]">[% biblio.title | html %]</a> &rsaquo; Place a hold on [% INCLUDE 'biblio-title.inc' %]</div>
26
[% ELSE %]
26
[% ELSE %]
27
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Confirm holds</div>
27
    <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> &rsaquo; Confirm holds</div>
28
[% END %]
28
[% END %]
Lines 58-64 Link Here
58
  [% END %]
58
  [% END %]
59
59
60
  [% UNLESS ( multi_hold ) %]
60
  [% UNLESS ( multi_hold ) %]
61
    <h1>Place a hold on [% INCLUDE 'biblio-default-view.inc' %][% title | html %]</a> [% subtitle | html %] [% part_number | html %] [% part_name | html %]</h1>
61
    <h1>Place a hold on [% INCLUDE 'biblio-default-view.inc' %][% INCLUDE 'biblio-title.inc' %]</h1>
62
  [% ELSE %]
62
  [% ELSE %]
63
    <h1>Confirm holds</h1>
63
    <h1>Confirm holds</h1>
64
  [% END %]
64
  [% END %]
Lines 179-185 Link Here
179
            [% END %]
179
            [% END %]
180
        [% ELSE %]
180
        [% ELSE %]
181
            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
181
            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
182
            <input type="hidden" name="title" value="[% title | html %]" />
182
            <input type="hidden" name="title" value="[% biblio.title | html %]" />
183
            <input type="hidden" name="rank-request" value="[% fixedRank | html %]" />
183
            <input type="hidden" name="rank-request" value="[% fixedRank | html %]" />
184
        [% END %]
184
        [% END %]
185
185
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt (-1 / +2 lines)
Lines 21-27 Link Here
21
    </tr>
21
    </tr>
22
    [% FOREACH resultsloo IN resultsloop %]
22
    [% FOREACH resultsloo IN resultsloop %]
23
        <tr>
23
        <tr>
24
            <td class="title">[% resultsloo.title | html %] [% resultsloo.subtitle | html %]
24
            <td class="title">
25
                [% INCLUDE 'biblio-title.inc' biblio=resultsloo %]
25
            </td>
26
            </td>
26
            <td>
27
            <td>
27
                [% resultsloo.author | html %]
28
                [% resultsloo.author | html %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt (-1 / +1 lines)
Lines 31-37 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
31
31
32
        [% FOREACH title IN titles %]
32
        [% FOREACH title IN titles %]
33
            <tr>
33
            <tr>
34
            <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = title.biblionumber %][% title.title | html %][% FOREACH subtitl IN title.subtitle %] [% subtitl | html %][% END %]</a>
34
            <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = title.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=title %]</a>
35
            [% title.author | html %]
35
            [% title.author | html %]
36
            <p>[% IF ( title.publishercode ) %]- [% title.publishercode | html %]
36
            <p>[% IF ( title.publishercode ) %]- [% title.publishercode | html %]
37
            [% IF ( title.place ) %] [% title.place | html %][% END %][% END %]
37
            [% IF ( title.place ) %] [% title.place | html %][% END %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-1 / +1 lines)
Lines 152-158 Link Here
152
                <tr>
152
                <tr>
153
                  <td><input type="checkbox" name="record_id" id="record_id_[% biblio.biblionumber | html %]" value="[% biblio.biblionumber | html %]" data-items="[% biblio.itemnumbers.size | html %]" data-issues="[% biblio.issues_count | html %]" data-reserves="[% biblio.holds_count | html %]" /></td>
153
                  <td><input type="checkbox" name="record_id" id="record_id_[% biblio.biblionumber | html %]" value="[% biblio.biblionumber | html %]" data-items="[% biblio.itemnumbers.size | html %]" data-issues="[% biblio.issues_count | html %]" data-reserves="[% biblio.holds_count | html %]" /></td>
154
                  <td><label for="record_id_[% biblio.biblionumber | html %]">[% biblio.biblionumber | html %]</label></td>
154
                  <td><label for="record_id_[% biblio.biblionumber | html %]">[% biblio.biblionumber | html %]</label></td>
155
                  <td>[% INCLUDE 'biblio-default-view.inc' biblionumber=biblio.biblionumber %][% biblio.title | html %][% IF ( biblio.subtitle ) %][% FOREACH subtitle IN biblio.subtitle %] [% subtitle | html %][% END %][% END %]</a></td>
155
                  <td>[% INCLUDE 'biblio-default-view.inc' biblionumber=biblio.biblionumber %][% INCLUDE 'biblio-title.inc' %]</a></td>
156
                  <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.itemnumbers.size | html %]</a></td>
156
                  <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.itemnumbers.size | html %]</a></td>
157
                  <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.holds_count | html %]</a></td>
157
                  <td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.holds_count | html %]</a></td>
158
                  <td><a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.issues_count | html %]</a></td>
158
                  <td><a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.issues_count | html %]</a></td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt (-2 / +3 lines)
Lines 31-41 Your list: [% shelfname | $raw %] Link Here
31
        <li>
31
        <li>
32
            <span>
32
            <span>
33
                [% BIBLIO_RESULT.title | $raw %]
33
                [% BIBLIO_RESULT.title | $raw %]
34
                [% IF ( BIBLIO_RESULT.subtitle.size ) %]
34
                [% IF ( BIBLIO_RESULT.subtitle ) %]
35
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle %]
35
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle.split(' | ') %]
36
                    [% subtitle | $raw %]
36
                    [% subtitle | $raw %]
37
                  [% END %]
37
                  [% END %]
38
                [% END %]
38
                [% END %]
39
                [% BIBLIO_RESULT.part_number | $raw %] [% BIBLIO_RESULT.part_name | $raw %]
39
            </span>
40
            </span>
40
41
41
            <p>
42
            <p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-1 / +2 lines)
Lines 212-218 Link Here
212
                    [% itemsloo.XSLTBloc | $raw %]
212
                    [% itemsloo.XSLTBloc | $raw %]
213
                [% ELSE %]
213
                [% ELSE %]
214
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %]
214
                    [% INCLUDE 'biblio-default-view.inc' biblionumber = itemsloo.biblionumber %]
215
                    [% itemsloo.title | html %][% FOREACH subtitl IN itemsloo.subtitle %] [% subtitl | html %][% END %]</a>
215
                        [% INCLUDE 'biblio-title.inc' biblio=itemsloo %]
216
                    </a>
216
                [% END %]
217
                [% END %]
217
                    <p class="hold">
218
                    <p class="hold">
218
                        [% IF ( itemsloo.notforloan ) %]
219
                        [% IF ( itemsloo.notforloan ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/biblio-title-head.inc (+9 lines)
Line 0 Link Here
1
[% IF ( biblio.title ) %]
2
    [% biblio.title | html %]
3
[% ELSE %]
4
    No title
5
[% END %]
6
[% FOREACH subtitle IN biblio.subtitle.split(' \| ') %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
7
    [% subtitle | html %]
8
[% END %]
9
[% biblio.part_number | html %] [% biblio.part_name | html %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/biblio-title.inc (+14 lines)
Line 0 Link Here
1
[% IF ( biblio.title ) %]
2
    <span class="biblio-title">[% biblio.title | html %]</span>
3
[% ELSE %]
4
    No title
5
[% END %]
6
[% FOREACH subtitle IN biblio.subtitle.split(' \| ') %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
7
    <span class="subtitle">[% subtitle | html %]</span>
8
[% END %]
9
[% IF ( biblio.part_number ) %]
10
    <span class="part-number">[% biblio.part_number | html %]</span>
11
[% END %]
12
[% IF ( biblio.part_name ) %]
13
    <span class="part-name">[% biblio.part_name | html %]</span>
14
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc (-8 / +2 lines)
Lines 49-66 Link Here
49
                        <td class="title">
49
                        <td class="title">
50
                            [% IF ! onlyinfo %]
50
                            [% IF ! onlyinfo %]
51
                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% HOLD.biblionumber | html %]">
51
                                <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% HOLD.biblionumber | html %]">
52
                                    [% HOLD.biblio.title | html %]
52
                                    [% INCLUDE 'biblio-title.inc' biblio=HOLD.biblio %]
53
                                    [% FOREACH s IN HOLD.biblio.subtitles %]
54
                                        [% s | html %]
55
                                    [% END %]
56
                                    [% HOLD.item.enumchron | html %]
53
                                    [% HOLD.item.enumchron | html %]
57
                                </a>
54
                                </a>
58
                            [% ELSE %]
55
                            [% ELSE %]
59
                                <strong>
56
                                <strong>
60
                                    [% HOLD.biblio.title | html %]
57
                                    [% INCLUDE 'biblio-title.inc' biblio=HOLD.biblio %]
61
                                    [% FOREACH s IN HOLD.biblio.subtitles %]
62
                                        [% s | html %]
63
                                    [% END %]
64
                                    [% HOLD.item.enumchron | html %]
58
                                    [% HOLD.item.enumchron | html %]
65
                                </strong>
59
                                </strong>
66
                            [% END %]
60
                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc (-5 / +1 lines)
Lines 78-88 Link Here
78
                        <td class="top">
78
                        <td class="top">
79
                            [% item.itemcallnumber | html %]
79
                            [% item.itemcallnumber | html %]
80
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber | uri %]&amp;shelfbrowse_itemnumber=[% item.itemnumber | uri %]#shelfbrowser">
80
                            <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% item.biblionumber | uri %]&amp;shelfbrowse_itemnumber=[% item.itemnumber | uri %]#shelfbrowser">
81
                                [% item.title | html %]
81
                                [% INCLUDE 'biblio-title.inc' biblio=item %]
82
                                [% FOREACH subtitl IN item.subtitle %]
83
                                    [% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
84
                                    [% subtitl | html %]
85
                                [% END %]
86
                            </a>
82
                            </a>
87
                        </td>
83
                        </td>
88
                    [% END %]
84
                    [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt (-1 / +1 lines)
Lines 18-24 Link Here
18
                                [% END %]
18
                                [% END %]
19
                                <ul>
19
                                <ul>
20
                                    [% FOREACH biblio IN biblios %]
20
                                    [% FOREACH biblio IN biblios %]
21
                                        <li> <span class="title">[% biblio.title | html %]</span>
21
                                        <li> <span class="title">[% INCLUDE 'biblio-title.inc' %]</span>
22
                                            [% IF ( biblio.author ) %]<span class="author"> [% biblio.author | html %] </span>[% END %]
22
                                            [% IF ( biblio.author ) %]<span class="author"> [% biblio.author | html %] </span>[% END %]
23
                                        </li>
23
                                        </li>
24
                                    [% END %]
24
                                    [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt (-3 / +2 lines)
Lines 67-74 Link Here
67
                                [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
67
                                [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
68
                                    <h3>
68
                                    <h3>
69
                                                <input type="checkbox" class="cb" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]">
69
                                                <input type="checkbox" class="cb" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]">
70
                                                [% BIBLIO_RESULT.title | html %]
70
                                                [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT %]
71
                                                [% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl | html %] [% END %][% END %]
72
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author | html %][% END %]
71
                                                [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author | html %][% END %]
73
                                    </h3>
72
                                    </h3>
74
                                    <!-- COinS / Openurl -->
73
                                    <!-- COinS / Openurl -->
Lines 257-263 Link Here
257
                                                <input type="checkbox" class="cb" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]">
256
                                                <input type="checkbox" class="cb" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]">
258
                                                </td>
257
                                                </td>
259
                                            <td>
258
                                            <td>
260
                                                <a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest | html %]',[% BIBLIO_RESULT.biblionumber | html %])">[% BIBLIO_RESULT.title | html %][% IF ( BIBLIO_RESULT.subtitle ) %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %][% subtitl | html %][% END %][% END %]</a>
259
                                                <a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest | html %]',[% BIBLIO_RESULT.biblionumber | html %])">[% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT %]</a>
261
                                                <!-- COinS / Openurl -->
260
                                                <!-- COinS / Openurl -->
262
                                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author | html %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear | html %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') | html %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place | html %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition | html %]&amp;rft.series=[% BIBLIO_RESULT.series | html %]&amp;rft.genre="></span>
261
                                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author | html %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear | html %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') | html %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place | html %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition | html %]&amp;rft.series=[% BIBLIO_RESULT.series | html %]&amp;rft.genre="></span>
263
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
262
                                                [% IF ( TagsInputEnabled && loggedinusername ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +4 lines)
Lines 6-11 Link Here
6
[% USE Branches %]
6
[% USE Branches %]
7
[% USE ColumnsSettings %]
7
[% USE ColumnsSettings %]
8
[% USE AuthorisedValues %]
8
[% USE AuthorisedValues %]
9
[% USE Stash %]
9
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
10
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
10
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
11
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
11
[% IF Koha.Preference('AmazonAssocTag') %]
12
[% IF Koha.Preference('AmazonAssocTag') %]
Lines 30-36 Link Here
30
[% END %]
31
[% END %]
31
32
32
[% INCLUDE 'doc-head-open.inc' %]
33
[% INCLUDE 'doc-head-open.inc' %]
33
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo; Details for: [% title | html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl | html %][% END %]</title>
34
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo; Details for: [% INCLUDE 'biblio-title-head.inc' biblio=Stash.stash() %]</title>
34
[% INCLUDE 'doc-head-close.inc' %]
35
[% INCLUDE 'doc-head-close.inc' %]
35
    [% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %]
36
    [% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %]
36
</head>
37
</head>
Lines 41-47 Link Here
41
<div class="main">
42
<div class="main">
42
    <ul class="breadcrumb">
43
    <ul class="breadcrumb">
43
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
44
        <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
44
        <li><a href="#"><span>Details for: </span>[% title | html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl | html %][% END %]</a></li>
45
        <li><a href="#"><span>Details for: </span>[% INCLUDE 'biblio-title.inc' biblio=Stash.stash() %]</a></li>
45
    </ul>
46
    </ul>
46
47
47
    <div class="container-fluid">
48
    <div class="container-fluid">
Lines 112-118 Link Here
112
                    [% IF ( OPACXSLTDetailsDisplay ) %]
113
                    [% IF ( OPACXSLTDetailsDisplay ) %]
113
                        [% XSLTBloc | $raw %]
114
                        [% XSLTBloc | $raw %]
114
                    [% ELSE %]
115
                    [% ELSE %]
115
                        <h1 class="title">[% title | html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl | html %] [% END %]</span>[% END %]</h1>
116
                        <h1 class="title">[% INCLUDE 'biblio-title.inc' biblio=Stash.stash() %]</h1>
116
                        [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author | html %]</a></h5>[% END %]
117
                        [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author | html %]</a></h5>[% END %]
117
118
118
                        <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
119
                        <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (-1 / +1 lines)
Lines 37-43 Link Here
37
     <atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | url %]&amp;sort_by=[% SEARCH_RESULT.sort_by |uri %]&amp;format=opensearchdescription"/>
37
     <atom:link rel="search" type="application/opensearchdescription+xml" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[% SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | url %]&amp;sort_by=[% SEARCH_RESULT.sort_by |uri %]&amp;format=opensearchdescription"/>
38
     <opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |uri %][% SEARCH_RESULT.limit_desc |uri %]" startPage="[% SEARCH_RESULT.page | html %]" />
38
     <opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc |uri %][% SEARCH_RESULT.limit_desc |uri %]" startPage="[% SEARCH_RESULT.page | html %]" />
39
     <item>
39
     <item>
40
       <title>[% SEARCH_RESULT.title | html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl | html %][% END %]</title>
40
       <title>[% INCLUDE 'biblio-title-head.inc' biblio=SEARCH_RESULT %]</title>
41
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn | html %]</dc:identifier>
41
       <dc:identifier>ISBN [% SEARCH_RESULT.isbn | html %]</dc:identifier>
42
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% END %][% END %]</link>
42
       <link>[% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% IF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %][% OPACBaseURL | html %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% ELSE %][% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | html %][% END %][% END %]</link>
43
       <description><![CDATA[
43
       <description><![CDATA[
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-3 / +3 lines)
Lines 137-147 Link Here
137
                                                </td>
137
                                                </td>
138
                                                <td>
138
                                                <td>
139
                                                [% IF  issue.BiblioDefaultViewmarc %]
139
                                                [% IF  issue.BiblioDefaultViewmarc %]
140
                                                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title | html %] [% IF  issue.subtitle  %][% FOREACH subtitl IN issue.subtitle %][% subtitl | html %][% END %][% END %]</a>
140
                                                     <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% INCLUDE 'biblio-title.inc' biblio=issue %]</a>
141
                                                [% ELSIF issue.BiblioDefaultViewisbd %]
141
                                                [% ELSIF issue.BiblioDefaultViewisbd %]
142
                                                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title | html %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl | html %][% END %][% END %]</a>
142
                                                     <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% issue.biblionumber |url %]">[% INCLUDE 'biblio-title.inc' biblio=issue %]</a>
143
                                                [% ELSE %]
143
                                                [% ELSE %]
144
                                                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">[% issue.title | html %] [% IF issue.subtitle %][% FOREACH subtitl IN issue.subtitle %][% subtitl | html %][% END %][% END %]</a>
144
                                                     <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% issue.biblionumber |url %]">[% INCLUDE 'biblio-title.inc' biblio=issue %]</a>
145
                                                [% END %]
145
                                                [% END %]
146
                                                <p class="results-summary item-details">[% issue.author | html %]</p>
146
                                                <p class="results-summary item-details">[% issue.author | html %]</p>
147
147
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-6 / +1 lines)
Lines 169-180 Link Here
169
                                            [% END # / bibitemloo.holdable %]
169
                                            [% END # / bibitemloo.holdable %]
170
170
171
                                            <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber | html %]">
171
                                            <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber | html %]">
172
                                                [% bibitemloo.title | html %]
172
                                                [% INCLUDE 'biblio-title.inc' biblio=bibitemloo %]
173
                                                [% IF ( bibitemloo.subtitle ) %]
174
                                                    [% FOREACH subtitl IN bibitemloo.subtitle %]
175
                                                        [% subtitl | html %]
176
                                                    [% END %]
177
                                                [% END %]
178
                                            </a>
173
                                            </a>
179
                                            [% IF ( bibitemloo.author ) %],  by [% bibitemloo.author | html %][% END %]
174
                                            [% IF ( bibitemloo.author ) %],  by [% bibitemloo.author | html %][% END %]
180
                                        </p>
175
                                        </p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt (-3 / +4 lines)
Lines 107-118 Link Here
107
                                                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
107
                                                [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
108
                                                <tr>
108
                                                <tr>
109
                                                    <td>
109
                                                    <td>
110
                                                        <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;">[% SEARCH_RESULT.title | html %]</a>
110
                                                        <a href="/cgi-bin/koha/opac-search.pl?q=[% SEARCH_RESULT.scan_use |url %]&quot;[% SEARCH_RESULT.title |url %]&quot;"><span class="biblio-title">[% SEARCH_RESULT.title | html %]</span></a>
111
                                                    </td>
111
                                                    </td>
112
                                                    <td>
112
                                                    <td>
113
                                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
113
                                                        [% FOREACH subtitl IN SEARCH_RESULT.subtitle.split(' | ') %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %]
114
                                                            [% subtitl | html %]
114
                                                            <span class="subtitle">[% subtitl | html %]</span>
115
                                                        [% END %]
115
                                                        [% END %]
116
                                                        <span class="part-number">[% SEARCH_RESULT.part_number | html %]</span> <span class="part-name">[% SEARCH_RESULT.part_name | html %]</span>
116
                                                    </td>
117
                                                    </td>
117
                                                </tr>
118
                                                </tr>
118
                                                [% END %]
119
                                                [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-9 / +1 lines)
Lines 344-358 Link Here
344
                                                        [% END %]
344
                                                        [% END %]
345
                                                    [% END %]
345
                                                    [% END %]
346
346
347
                                                    [% IF ( SEARCH_RESULT.title ) %]
347
                                                    [% INCLUDE 'biblio-title.inc' biblio=SEARCH_RESULT %]
348
                                                        [% SEARCH_RESULT.title | html %]
349
                                                    [% ELSE %]
350
                                                        No title
351
                                                    [% END %]
352
353
                                                    [% FOREACH subtitl IN SEARCH_RESULT.subtitle %]
354
                                                        , [% subtitl | html %]
355
                                                    [% END %]</a>
356
348
357
                                                    [% IF ( SEARCH_RESULT.author ) %]
349
                                                    [% IF ( SEARCH_RESULT.author ) %]
358
                                                        by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% SEARCH_RESULT.author |url %]" title="Search for works by this author" class="author">[% SEARCH_RESULT.author | html %]</a>
350
                                                        by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% SEARCH_RESULT.author |url %]" title="Search for works by this author" class="author">[% SEARCH_RESULT.author | html %]</a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-review.tt (-1 / +1 lines)
Lines 42-48 Link Here
42
                            </div>
42
                            </div>
43
                        [% END # / ERRORs %]
43
                        [% END # / ERRORs %]
44
44
45
                        <h1>Comments on <i>[% title | html %] [% subtitle | html %]</i></h1>
45
                        <h1>Comments on <i>[% INCLUDE 'biblio-title.inc' biblio=Stash.stash() %]</i></h1>
46
                        [% IF ( author ) %]<h3>[% author | html %]</h3>[% END %]
46
                        [% IF ( author ) %]<h3>[% author | html %]</h3>[% END %]
47
                        <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
47
                        <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
48
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
48
                            <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt (-1 / +6 lines)
Lines 32-38 Your cart Link Here
32
        <li>
32
        <li>
33
            <span>
33
            <span>
34
                [% BIBLIO_RESULT.title | $raw %]
34
                [% BIBLIO_RESULT.title | $raw %]
35
                [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle | $raw %][% END %]
35
                [% IF ( BIBLIO_RESULT.subtitle ) %]
36
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle.split(' | ') %]
37
                    [% subtitle | $raw %]
38
                  [% END %]
39
                [% END %]
40
                [% BIBLIO_RESULT.part_number | $raw %] [% BIBLIO_RESULT.part_name | $raw %]
36
            </span>
41
            </span>
37
42
38
            <p>
43
            <p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt (-2 / +3 lines)
Lines 32-42 Your list : [% shelfname | $raw %] Link Here
32
        <li>
32
        <li>
33
            <span>
33
            <span>
34
                [% BIBLIO_RESULT.title | $raw %]
34
                [% BIBLIO_RESULT.title | $raw %]
35
                [% IF ( BIBLIO_RESULT.subtitle.size ) %]
35
                [% IF ( BIBLIO_RESULT.subtitle ) %]
36
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle %]
36
                  [% FOREACH subtitle IN BIBLIO_RESULT.subtitle.split(' | ') %]
37
                    [% subtitle | $raw %]
37
                    [% subtitle | $raw %]
38
                  [% END %]
38
                  [% END %]
39
                [% END %]
39
                [% END %]
40
                [% BIBLIO_RESULT.part_number | $raw %] [% BIBLIO_RESULT.part_name | $raw %]
40
            </span>
41
            </span>
41
42
42
            <p>
43
            <p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-9 / +1 lines)
Lines 373-387 Link Here
373
                                                            [% END %]
373
                                                            [% END %]
374
                                                        [% END %]
374
                                                        [% END %]
375
375
376
                                                        [% IF ( itemsloo.title ) %]
376
                                                        [% INCLUDE 'biblio-title.inc' biblio=itemsloo %]
377
                                                            [% itemsloo.title | html %]
378
                                                        [% ELSE %]
379
                                                            No title
380
                                                        [% END %]
381
382
                                                        [% FOREACH subtitl IN itemsloo.subtitle %]
383
                                                            [% subtitl | html %]
384
                                                        [% END %]
385
                                                        </a>
377
                                                        </a>
386
378
387
                                                        [% IF ( itemsloo.author ) %]
379
                                                        [% IF ( itemsloo.author ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt (-1 / +1 lines)
Lines 10-16 Link Here
10
     [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
10
     [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
11
	 [% FOREACH review IN reviews %]
11
	 [% FOREACH review IN reviews %]
12
     <item>
12
     <item>
13
       <title>New comment on [% review.title | html %] [% FOREACH subtitl IN review.subtitle %], [% subtitl | html %][% END %]</title>
13
       <title>New comment on [% INCLUDE 'biblio-title-head.inc' biblio=review %]</title>
14
       <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link>
14
       <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber | html %]#comments</link>
15
       <description><![CDATA[
15
       <description><![CDATA[
16
[% IF ( AdlibrisEnabled && review.normalized_isbn ) %]
16
[% IF ( AdlibrisEnabled && review.normalized_isbn ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (-2 / +1 lines)
Lines 46-53 Link Here
46
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
46
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
47
                                                [% END %]
47
                                                [% END %]
48
                                            [% END %]
48
                                            [% END %]
49
                                            [% IF ( review.title ) %][% review.title | html %][% ELSE %]No title[% END %]
49
                                            [% INCLUDE 'biblio-title.inc' biblio=review %]
50
                                            [% FOREACH subtitl IN review.subtitle %] [% subtitl | html %][% END %]
51
                                            </a>
50
                                            </a>
52
                                            [% IF ( review.author ) %]
51
                                            [% IF ( review.author ) %]
53
                                                by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author | html %]</a>
52
                                                by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author | html %]</a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt (-6 / +1 lines)
Lines 149-160 Link Here
149
                                                [% ELSE %]
149
                                                [% ELSE %]
150
                                                    <span class="tdlabel">Title:</span>
150
                                                    <span class="tdlabel">Title:</span>
151
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber | html %]">
151
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber | html %]">
152
                                                        [% MY_TAG.title | html %]
152
                                                        [% INCLUDE 'biblio-title.inc' biblio=MY_TAG %]
153
                                                        [% IF ( MY_TAG.subtitle ) %]
154
                                                            [% FOREACH subtitle IN MY_TAG.subtitle %]
155
                                                                [% subtitle | html %]
156
                                                            [% END %]
157
                                                        [% END %]
158
                                                    </a>
153
                                                    </a>
159
                                                    [% IF ( MY_TAG.author ) %]
154
                                                    [% IF ( MY_TAG.author ) %]
160
                                                        by [% MY_TAG.author | html %]
155
                                                        by [% MY_TAG.author | html %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-5 / +5 lines)
Lines 248-254 Link Here
248
                                                </td>[% END # / IF JacketImages %]
248
                                                </td>[% END # / IF JacketImages %]
249
249
250
                                                <td class="title">
250
                                                <td class="title">
251
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber | html %]">[% ISSUE.title | html %] [% FOREACH subtitl IN ISSUE.subtitle %] [% subtitl | html %][% END %]</a>
251
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber | html %]">[% INCLUDE 'biblio-title.inc' biblio=ISSUE %]</a>
252
                                                    [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron | html %][% END %]
252
                                                    [% IF ( ISSUE.enumchron ) %] [% ISSUE.enumchron | html %][% END %]
253
                                                </td>
253
                                                </td>
254
254
Lines 520-528 Link Here
520
                                                [% END # /IF jacketcell %]
520
                                                [% END # /IF jacketcell %]
521
521
522
                                                <td>
522
                                                <td>
523
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber | html %]">[% OVERDUE.title | html %] [% FOREACH subtitl IN OVERDUE.subtitle %] [% subtitl | html %][% END %]
523
                                                    <a class="title" href="/cgi-bin/koha/opac-detail.pl?bib=[% OVERDUE.biblionumber | html %]">[% INCLUDE 'biblio-title.inc' biblio=OVERDUE %]</a>
524
                                                    </a>
524
                                                    <span class="item-details">[% OVERDUE.author | html %]</span>
525
                                                    <span class="item-details">[% OVERDUE.author | html %]</span></td>
525
                                                </td>
526
526
527
                                                [% UNLESS ( item_level_itypes ) %]
527
                                                [% UNLESS ( item_level_itypes ) %]
528
                                                    <td>
528
                                                    <td>
Lines 611-617 Link Here
611
                                        [% FOREACH ar IN logged_in_user.article_requests_current %]
611
                                        [% FOREACH ar IN logged_in_user.article_requests_current %]
612
                                                <td class="article-request-record-title">
612
                                                <td class="article-request-record-title">
613
                                                    <a class="article-request-title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ar.biblionumber | html %]">
613
                                                    <a class="article-request-title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ar.biblionumber | html %]">
614
                                                        [% ar.biblio.title | html %]
614
                                                        [% INCLUDE 'biblio-title.inc' biblio=ar.biblio %]
615
                                                        [% ar.item.enumchron | html %]
615
                                                        [% ar.item.enumchron | html %]
616
                                                    </a>
616
                                                    </a>
617
                                                    [% ar.biblio.author | html %]
617
                                                    [% ar.biblio.author | html %]
(-)a/opac/opac-addbybiblionumber.pl (+4 lines)
Lines 148-153 if ($authorized) { Link Here
148
            @biblios,
148
            @biblios,
149
            {   biblionumber => $biblionumber,
149
            {   biblionumber => $biblionumber,
150
                title        => $biblio->title,
150
                title        => $biblio->title,
151
                subtitle     => $biblio->subtitle,
152
                medium       => $biblio->medium,
153
                part_number  => $biblio->part_number,
154
                part_name    => $biblio->part_name,
151
                author       => $biblio->author,
155
                author       => $biblio->author,
152
            }
156
            }
153
        );
157
        );
(-)a/opac/opac-basket.pl (-3 lines)
Lines 108-115 foreach my $biblionumber ( @bibs ) { Link Here
108
        }
108
        }
109
    }
109
    }
110
110
111
    my $subtitle         = GetRecordValue('subtitle', $record);
112
113
    my $hasauthors = 0;
111
    my $hasauthors = 0;
114
    if($dat->{'author'} || @$marcauthorsarray) {
112
    if($dat->{'author'} || @$marcauthorsarray) {
115
      $hasauthors = 1;
113
      $hasauthors = 1;
Lines 150-156 foreach my $biblionumber ( @bibs ) { Link Here
150
    $dat->{MARCSERIES}  = $marcseriesarray;
148
    $dat->{MARCSERIES}  = $marcseriesarray;
151
    $dat->{MARCURLS}    = $marcurlsarray;
149
    $dat->{MARCURLS}    = $marcurlsarray;
152
    $dat->{HASAUTHORS}  = $hasauthors;
150
    $dat->{HASAUTHORS}  = $hasauthors;
153
    $dat->{subtitle} = $subtitle;
154
151
155
    if ( C4::Context->preference("BiblioDefaultView") eq "normal" ) {
152
    if ( C4::Context->preference("BiblioDefaultView") eq "normal" ) {
156
        $dat->{dest} = "opac-detail.pl";
153
        $dat->{dest} = "opac-detail.pl";
(-)a/opac/opac-detail.pl (-2 lines)
Lines 768-774 if (!C4::Context->preference("OPACXSLTDetailsDisplay") ) { Link Here
768
}
768
}
769
769
770
my $marcnotesarray   = GetMarcNotes   ($record,$marcflavour);
770
my $marcnotesarray   = GetMarcNotes   ($record,$marcflavour);
771
my $subtitle         = GetRecordValue('subtitle', $record);
772
771
773
if( C4::Context->preference('ArticleRequests') ) {
772
if( C4::Context->preference('ArticleRequests') ) {
774
    my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef;
773
    my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef;
Lines 791-797 if( C4::Context->preference('ArticleRequests') ) { Link Here
791
                     itemdata_copynumber     => $itemfields{copynumber},
790
                     itemdata_copynumber     => $itemfields{copynumber},
792
                     itemdata_itemnotes      => $itemfields{itemnotes},
791
                     itemdata_itemnotes      => $itemfields{itemnotes},
793
                     itemdata_location       => $itemfields{location_description},
792
                     itemdata_location       => $itemfields{location_description},
794
                     subtitle                => $subtitle,
795
                     OpacStarRatings         => C4::Context->preference("OpacStarRatings"),
793
                     OpacStarRatings         => C4::Context->preference("OpacStarRatings"),
796
    );
794
    );
797
795
(-)a/opac/opac-readingrecord.pl (-1 lines)
Lines 98-104 foreach my $issue ( @{$issues} ) { Link Here
98
        my $marc_rec =
98
        my $marc_rec =
99
          MARC::Record::new_from_xml( $marcxml, 'utf8',
99
          MARC::Record::new_from_xml( $marcxml, 'utf8',
100
            C4::Context->preference('marcflavour') );
100
            C4::Context->preference('marcflavour') );
101
        $issue->{subtitle} = GetRecordValue( 'subtitle', $marc_rec );
102
        $issue->{normalized_upc} = GetNormalizedUPC( $marc_rec, C4::Context->preference('marcflavour') );
101
        $issue->{normalized_upc} = GetNormalizedUPC( $marc_rec, C4::Context->preference('marcflavour') );
103
    }
102
    }
104
    # My Summary HTML
103
    # My Summary HTML
(-)a/opac/opac-reserve.pl (-1 / +1 lines)
Lines 424-430 foreach my $biblioNum (@biblionumbers) { Link Here
424
    my $frameworkcode = GetFrameworkCode( $biblioData->{biblionumber} );
424
    my $frameworkcode = GetFrameworkCode( $biblioData->{biblionumber} );
425
    $biblioLoopIter{biblionumber} = $biblioData->{biblionumber};
425
    $biblioLoopIter{biblionumber} = $biblioData->{biblionumber};
426
    $biblioLoopIter{title} = $biblioData->{title};
426
    $biblioLoopIter{title} = $biblioData->{title};
427
    $biblioLoopIter{subtitle} = C4::Biblio::SplitKohaField($biblioData->{'subtitle'});
427
    $biblioLoopIter{subtitle} = $biblioData->{'subtitle'};
428
    $biblioLoopIter{medium} = $biblioData->{medium};
428
    $biblioLoopIter{medium} = $biblioData->{medium};
429
    $biblioLoopIter{part_number} = $biblioData->{part_number};
429
    $biblioLoopIter{part_number} = $biblioData->{part_number};
430
    $biblioLoopIter{part_name} = $biblioData->{part_name};
430
    $biblioLoopIter{part_name} = $biblioData->{part_name};
(-)a/opac/opac-sendshelf.pl (-2 lines)
Lines 101-107 if ( $email ) { Link Here
101
101
102
        my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
102
        my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
103
        my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
103
        my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
104
        my $subtitle         = GetRecordValue('subtitle', $record);
105
104
106
        my @items = GetItemsInfo( $biblionumber );
105
        my @items = GetItemsInfo( $biblionumber );
107
106
Lines 110-116 if ( $email ) { Link Here
110
        $dat->{MARCAUTHORS}    = $marcauthorsarray;
109
        $dat->{MARCAUTHORS}    = $marcauthorsarray;
111
        $dat->{'biblionumber'} = $biblionumber;
110
        $dat->{'biblionumber'} = $biblionumber;
112
        $dat->{ITEM_RESULTS}   = \@items;
111
        $dat->{ITEM_RESULTS}   = \@items;
113
        $dat->{subtitle}       = $subtitle;
114
        $dat->{HASAUTHORS}     = $dat->{'author'} || @$marcauthorsarray;
112
        $dat->{HASAUTHORS}     = $dat->{'author'} || @$marcauthorsarray;
115
113
116
        $iso2709 .= $record->as_usmarc();
114
        $iso2709 .= $record->as_usmarc();
(-)a/opac/opac-shelves.pl (-1 lines)
Lines 295-301 if ( $op eq 'view' ) { Link Here
295
                    $this_item->{notforloan}        = $itemtype->notforloan;
295
                    $this_item->{notforloan}        = $itemtype->notforloan;
296
                }
296
                }
297
                $this_item->{'coins'}           = GetCOinSBiblio($record);
297
                $this_item->{'coins'}           = GetCOinSBiblio($record);
298
                $this_item->{'subtitle'}        = GetRecordValue( 'subtitle', $record ),
299
                $this_item->{'normalized_upc'}  = GetNormalizedUPC( $record, $marcflavour );
298
                $this_item->{'normalized_upc'}  = GetNormalizedUPC( $record, $marcflavour );
300
                $this_item->{'normalized_ean'}  = GetNormalizedEAN( $record, $marcflavour );
299
                $this_item->{'normalized_ean'}  = GetNormalizedEAN( $record, $marcflavour );
301
                $this_item->{'normalized_oclc'} = GetNormalizedOCLCNumber( $record, $marcflavour );
300
                $this_item->{'normalized_oclc'} = GetNormalizedOCLCNumber( $record, $marcflavour );
(-)a/opac/opac-showreviews.pl (-1 / +1 lines)
Lines 96-102 for my $result (@$reviews){ Link Here
96
	$result->{normalized_oclc} = GetNormalizedOCLCNumber($record,$marcflavour);
96
	$result->{normalized_oclc} = GetNormalizedOCLCNumber($record,$marcflavour);
97
	$result->{normalized_isbn} = GetNormalizedISBN(undef,$record,$marcflavour);
97
	$result->{normalized_isbn} = GetNormalizedISBN(undef,$record,$marcflavour);
98
    $result->{title} = $biblio->title;
98
    $result->{title} = $biblio->title;
99
    $result->{subtitle} = GetRecordValue('subtitle', $record );
99
    $result->{subtitle} = $biblio->subtitle;
100
    $result->{medium} = $biblio->medium;
100
    $result->{medium} = $biblio->medium;
101
    $result->{part_number} = $biblio->part_number;
101
    $result->{part_number} = $biblio->part_number;
102
    $result->{part_name} = $biblio->part_name;
102
    $result->{part_name} = $biblio->part_name;
(-)a/opac/opac-tags.pl (-1 / +1 lines)
Lines 257-263 if ($loggedinuser) { Link Here
257
        }
257
        }
258
        next if ( $should_hide && scalar @all_items == scalar @hidden_itemnumbers );
258
        next if ( $should_hide && scalar @all_items == scalar @hidden_itemnumbers );
259
        $tag->{title} = $biblio->title;
259
        $tag->{title} = $biblio->title;
260
        $tag->{subtitle} = C4::Biblio::SplitKohaField($biblio->subtitle);
260
        $tag->{subtitle} = $biblio->subtitle;
261
        $tag->{medium} = $biblio->medium;
261
        $tag->{medium} = $biblio->medium;
262
        $tag->{part_number} = $biblio->part_number;
262
        $tag->{part_number} = $biblio->part_number;
263
        $tag->{part_name} = $biblio->part_name;
263
        $tag->{part_name} = $biblio->part_name;
(-)a/opac/opac-user.pl (-2 lines)
Lines 201-208 if ( $pending_checkouts->count ) { # Useless test Link Here
201
        );
201
        );
202
        $issue->{rentalfines} = $rental_fines->total_outstanding;
202
        $issue->{rentalfines} = $rental_fines->total_outstanding;
203
203
204
        $issue->{'subtitle'} = C4::Biblio::SplitKohaField($issue->{'subtitle'});
205
206
        # check if item is renewable
204
        # check if item is renewable
207
        my ($status,$renewerror) = CanBookBeRenewed( $borrowernumber, $issue->{'itemnumber'} );
205
        my ($status,$renewerror) = CanBookBeRenewed( $borrowernumber, $issue->{'itemnumber'} );
208
        ($issue->{'renewcount'},$issue->{'renewsallowed'},$issue->{'renewsleft'}) = GetRenewCount($borrowernumber, $issue->{'itemnumber'});
206
        ($issue->{'renewcount'},$issue->{'renewsallowed'},$issue->{'renewsleft'}) = GetRenewCount($borrowernumber, $issue->{'itemnumber'});
(-)a/reserve/request.pl (-6 / +2 lines)
Lines 623-634 foreach my $biblionumber (@biblionumbers) { Link Here
623
                     date              => $date,
623
                     date              => $date,
624
                     biblionumber      => $biblionumber,
624
                     biblionumber      => $biblionumber,
625
                     findborrower      => $findborrower,
625
                     findborrower      => $findborrower,
626
                     title             => $biblio->title,
626
                     biblio            => $biblio,
627
                     subtitle          => $biblio->subtitle,
627
                     holdsview         => 1,
628
                     part_number       => $biblio->part_number,
629
                     part_name         => $biblio->part_name,
630
                     author            => $biblio->author,
631
                     holdsview => 1,
632
                     C4::Search::enabled_staff_search_views,
628
                     C4::Search::enabled_staff_search_views,
633
                    );
629
                    );
634
630
(-)a/serials/subscription-bib-search.pl (+3 lines)
Lines 124-129 if ( $op eq "do_search" && $query ) { Link Here
124
        $resultsloop{highlight}       = ( $i % 2 ) ? (1) : (0);
124
        $resultsloop{highlight}       = ( $i % 2 ) ? (1) : (0);
125
        $resultsloop{title}           = $biblio->{'title'};
125
        $resultsloop{title}           = $biblio->{'title'};
126
        $resultsloop{subtitle}        = $biblio->{'subtitle'};
126
        $resultsloop{subtitle}        = $biblio->{'subtitle'};
127
        $resultsloop{medium}          = $biblio->{'medium'};
128
        $resultsloop{part_number}     = $biblio->{'part_number'};
129
        $resultsloop{part_name}       = $biblio->{'part_name'};
127
        $resultsloop{biblionumber}    = $biblio->{'biblionumber'};
130
        $resultsloop{biblionumber}    = $biblio->{'biblionumber'};
128
        $resultsloop{author}          = $biblio->{'author'};
131
        $resultsloop{author}          = $biblio->{'author'};
129
        $resultsloop{publishercode}   = $biblio->{'publishercode'};
132
        $resultsloop{publishercode}   = $biblio->{'publishercode'};
(-)a/svc/checkouts (-1 lines)
Lines 23-29 use CGI; Link Here
23
use JSON qw(to_json);
23
use JSON qw(to_json);
24
24
25
use C4::Auth qw(check_cookie_auth haspermission get_session);
25
use C4::Auth qw(check_cookie_auth haspermission get_session);
26
use C4::Biblio qw(SplitKohaField);
27
use C4::Circulation qw(GetIssuingCharges CanBookBeRenewed GetRenewCount GetSoonestRenewDate);
26
use C4::Circulation qw(GetIssuingCharges CanBookBeRenewed GetRenewCount GetSoonestRenewDate);
28
use C4::Overdues qw(GetFine);
27
use C4::Overdues qw(GetFine);
29
use C4::Context;
28
use C4::Context;
(-)a/t/Biblio.t (-7 / +1 lines)
Lines 21-27 use Test::More; Link Here
21
use Test::MockModule;
21
use Test::MockModule;
22
use Test::Warn;
22
use Test::Warn;
23
23
24
plan tests => 47;
24
plan tests => 45;
25
25
26
use_ok('C4::Biblio');
26
use_ok('C4::Biblio');
27
27
Lines 51-62 warning_is { $ret = BiblioAutoLink(undef, q{}) } Link Here
51
51
52
is( $ret, 0, 'BiblioAutoLink returns zero if not passed rec');
52
is( $ret, 0, 'BiblioAutoLink returns zero if not passed rec');
53
53
54
warning_is { $ret = GetRecordValue('100', undef) }
55
           { carped => 'GetRecordValue called with undefined record'},
56
           "GetRecordValue returns carped warning on undef record";
57
58
ok( !defined $ret, 'GetRecordValue returns undef if not passed rec');
59
60
warning_is { @arr = LinkBibHeadingsToAuthorities(q{}, q{}) }
54
warning_is { @arr = LinkBibHeadingsToAuthorities(q{}, q{}) }
61
           { carped => 'LinkBibHeadingsToAuthorities called on undefined bib record'},
55
           { carped => 'LinkBibHeadingsToAuthorities called on undefined bib record'},
62
           "LinkBibHeadingsToAuthorities returns carped warning on undef record";
56
           "LinkBibHeadingsToAuthorities returns carped warning on undef record";
(-)a/t/db_dependent/Koha/BiblioUtils.t (-55 lines)
Lines 1-55 Link Here
1
#!/usr/bin/perl
2
#
3
# Copyright 2014 Catalyst IT
4
#
5
# This file is part of Koha.
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use C4::Context;
23
use C4::Biblio qw( AddBiblio );
24
use Koha::Database;
25
use Koha::Libraries;
26
use Koha::Patrons;
27
28
use Test::More tests => 4;
29
30
use_ok('Koha::Biblio');
31
use_ok('Koha::Biblios');
32
33
my $schema = Koha::Database->new()->schema();
34
$schema->storage->txn_begin();
35
36
my $dbh = C4::Context->dbh;
37
$dbh->{RaiseError} = 1;
38
39
my @branches = Koha::Libraries->search();
40
my $borrower = Koha::Patrons->search()->next();
41
42
my $biblio = MARC::Record->new();
43
$biblio->append_fields(
44
    MARC::Field->new( '100', ' ', ' ', a => 'Hall, Kyle' ),
45
    MARC::Field->new( '245', ' ', ' ', a => "Test Record", b => "Test Record Subtitle", b => "Another Test Record Subtitle" ),
46
);
47
my ( $biblionumber, $biblioitemnumber ) = AddBiblio( $biblio, '' );
48
49
$biblio = Koha::Biblios->find( $biblionumber );
50
my @subtitles = $biblio->subtitles();
51
is( $subtitles[0], 'Test Record Subtitle', 'Got first subtitle correctly' );
52
is( $subtitles[1], 'Another Test Record Subtitle', 'Got second subtitle correctly' );
53
54
$schema->storage->txn_rollback();
55
(-)a/tags/list.pl (-1 lines)
Lines 61-67 else { Link Here
61
        my $taglist = get_tag_rows( { term => $tag } );
61
        my $taglist = get_tag_rows( { term => $tag } );
62
        for ( @{$taglist} ) {
62
        for ( @{$taglist} ) {
63
            my $dat    = &GetBiblioData( $_->{biblionumber} );
63
            my $dat    = &GetBiblioData( $_->{biblionumber} );
64
            $dat->{'subtitle'} = C4::Biblio::SplitKohaFields($dat->{'subtitle'}),
65
            my @items = GetItemsInfo( $_->{biblionumber} );
64
            my @items = GetItemsInfo( $_->{biblionumber} );
66
            $dat->{biblionumber} = $_->{biblionumber};
65
            $dat->{biblionumber} = $_->{biblionumber};
67
            $dat->{tag_id}       = $_->{tag_id};
66
            $dat->{tag_id}       = $_->{tag_id};
(-)a/tools/batch_delete_records.pl (-1 lines)
Lines 94-100 if ( $op eq 'form' ) { Link Here
94
            my $holds_count = $biblio->holds->count;
94
            my $holds_count = $biblio->holds->count;
95
            $biblio = $biblio->unblessed;
95
            $biblio = $biblio->unblessed;
96
            my $record = &GetMarcBiblio({ biblionumber => $record_id });
96
            my $record = &GetMarcBiblio({ biblionumber => $record_id });
97
            $biblio->{subtitle} = C4::Biblio::SplitKohaField( $biblio->{subtitle} );
98
            $biblio->{itemnumbers} = [Koha::Items->search({ biblionumber => $record_id })->get_column('itemnumber')];
97
            $biblio->{itemnumbers} = [Koha::Items->search({ biblionumber => $record_id })->get_column('itemnumber')];
99
            $biblio->{holds_count} = $holds_count;
98
            $biblio->{holds_count} = $holds_count;
100
            $biblio->{issues_count} = C4::Biblio::CountItemsIssued( $record_id );
99
            $biblio->{issues_count} = C4::Biblio::CountItemsIssued( $record_id );
(-)a/virtualshelves/sendshelf.pl (-2 lines)
Lines 83-89 if ($email) { Link Here
83
            embed_items  => 1 });
83
            embed_items  => 1 });
84
        my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
84
        my $marcauthorsarray = GetMarcAuthors( $record, $marcflavour );
85
        my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
85
        my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour );
86
        my $subtitle         = GetRecordValue( 'subtitle', $record );
87
86
88
        my @items = GetItemsInfo($biblionumber);
87
        my @items = GetItemsInfo($biblionumber);
89
88
Lines 92-98 if ($email) { Link Here
92
        $dat->{MARCAUTHORS}    = $marcauthorsarray;
91
        $dat->{MARCAUTHORS}    = $marcauthorsarray;
93
        $dat->{'biblionumber'} = $biblionumber;
92
        $dat->{'biblionumber'} = $biblionumber;
94
        $dat->{ITEM_RESULTS}   = \@items;
93
        $dat->{ITEM_RESULTS}   = \@items;
95
        $dat->{subtitle}       = $subtitle;
96
        $dat->{HASAUTHORS}     = $dat->{'author'} || @$marcauthorsarray;
94
        $dat->{HASAUTHORS}     = $dat->{'author'} || @$marcauthorsarray;
97
95
98
        $iso2709 .= $record->as_usmarc();
96
        $iso2709 .= $record->as_usmarc();
(-)a/virtualshelves/shelves.pl (-2 / +4 lines)
Lines 274-286 if ( $op eq 'view' ) { Link Here
274
                $itemtype = Koha::ItemTypes->find( $itemtype );
274
                $itemtype = Koha::ItemTypes->find( $itemtype );
275
                my $biblio = Koha::Biblios->find( $content->biblionumber );
275
                my $biblio = Koha::Biblios->find( $content->biblionumber );
276
                $this_item->{title}             = $biblio->title;
276
                $this_item->{title}             = $biblio->title;
277
                $this_item->{subtitle}          = $biblio->subtitle;
278
                $this_item->{medium}            = $biblio->medium;
279
                $this_item->{part_number}       = $biblio->part_number;
280
                $this_item->{part_name}         = $biblio->part_name;
277
                $this_item->{author}            = $biblio->author;
281
                $this_item->{author}            = $biblio->author;
278
                $this_item->{dateadded}         = $content->dateadded;
282
                $this_item->{dateadded}         = $content->dateadded;
279
                $this_item->{imageurl}          = $itemtype ? C4::Koha::getitemtypeimagelocation( 'intranet', $itemtype->imageurl ) : q{};
283
                $this_item->{imageurl}          = $itemtype ? C4::Koha::getitemtypeimagelocation( 'intranet', $itemtype->imageurl ) : q{};
280
                $this_item->{description}       = $itemtype ? $itemtype->description : q{}; #FIXME Should this be translated_description ?
284
                $this_item->{description}       = $itemtype ? $itemtype->description : q{}; #FIXME Should this be translated_description ?
281
                $this_item->{notforloan}        = $itemtype->notforloan if $itemtype;
285
                $this_item->{notforloan}        = $itemtype->notforloan if $itemtype;
282
                $this_item->{'coins'}           = GetCOinSBiblio($record);
286
                $this_item->{'coins'}           = GetCOinSBiblio($record);
283
                $this_item->{'subtitle'}        = GetRecordValue( 'subtitle', $record );
284
                $this_item->{'normalized_upc'}  = GetNormalizedUPC( $record, $marcflavour );
287
                $this_item->{'normalized_upc'}  = GetNormalizedUPC( $record, $marcflavour );
285
                $this_item->{'normalized_ean'}  = GetNormalizedEAN( $record, $marcflavour );
288
                $this_item->{'normalized_ean'}  = GetNormalizedEAN( $record, $marcflavour );
286
                $this_item->{'normalized_oclc'} = GetNormalizedOCLCNumber( $record, $marcflavour );
289
                $this_item->{'normalized_oclc'} = GetNormalizedOCLCNumber( $record, $marcflavour );
287
- 

Return to bug 11529