@@ -, +, @@ and staff - Apply patch - Create a subscription, set location - View the subscription tab in detail and staff - Verify that the location now shows above the callnumber - Unset location in the subscription - Verify that the page still looks ok --- catalogue/detail.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 1 + koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 3 +++ opac/opac-detail.pl | 1 + 4 files changed, 6 insertions(+) --- a/catalogue/detail.pl +++ a/catalogue/detail.pl @@ -180,6 +180,7 @@ foreach my $subscription (@subscriptions) { $cell{branchcode} = $subscription->{branchcode}; $cell{hasalert} = $subscription->{hasalert}; $cell{callnumber} = $subscription->{callnumber}; + $cell{location} = $subscription->{location}; $cell{closed} = $subscription->{closed}; #get the three latest serials. $serials_to_display = $subscription->{staffdisplaycount}; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -658,6 +658,7 @@

At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode | html %]

[% END %] [% IF ( subscription.closed ) %]

This subscription is closed.

[% END %] + [% IF ( subscription.location ) %]

Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location ) | html %]

[% END %] [% IF ( subscription.callnumber ) %]

Callnumber: [% subscription.callnumber | html %]

[% END %] [% IF ( subscription.subscriptionnotes ) %]

[% subscription.subscriptionnotes | html | html_line_break %]

[% END %] [% IF ( subscription.missinglist ) %]

Missing issues: [% subscription.missinglist | html %]

[% END %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -807,6 +807,9 @@ [% IF ( subscription.closed ) %]

This subscription is closed.

[% END %] + [% IF ( subscription.location ) %] +

Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location ) | html %] + [% END %] [% IF ( subscription.callnumber ) %]

Call number: [% subscription.callnumber | html %]

[% END %] --- a/opac/opac-detail.pl +++ a/opac/opac-detail.pl @@ -593,6 +593,7 @@ foreach my $subscription (@subscriptions) { $cell{histenddate} = $subscription->{histenddate}; $cell{branchcode} = $subscription->{branchcode}; $cell{callnumber} = $subscription->{callnumber}; + $cell{location} = $subscription->{location}; $cell{closed} = $subscription->{closed}; $cell{letter} = $subscription->{letter}; $cell{biblionumber} = $subscription->{biblionumber}; --