|
Lines 23-29
use C4::Auth qw( get_template_and_user );
Link Here
|
| 23 |
use C4::Output qw( output_html_with_http_headers ); |
23 |
use C4::Output qw( output_html_with_http_headers ); |
| 24 |
|
24 |
|
| 25 |
use C4::Search qw( enabled_staff_search_views ); |
25 |
use C4::Search qw( enabled_staff_search_views ); |
| 26 |
use C4::Serials qw( CountSubscriptionFromBiblionumber ); |
|
|
| 27 |
|
26 |
|
| 28 |
use Koha::Biblios; |
27 |
use Koha::Biblios; |
| 29 |
|
28 |
|
|
Lines 50-56
$template->param(
Link Here
|
| 50 |
$template->param( |
49 |
$template->param( |
| 51 |
issuehistoryview => 1, |
50 |
issuehistoryview => 1, |
| 52 |
C4::Search::enabled_staff_search_views, |
51 |
C4::Search::enabled_staff_search_views, |
| 53 |
subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber), |
52 |
subscriptionsnumber => $biblio->subscriptions->count, |
| 54 |
); |
53 |
); |
| 55 |
|
54 |
|
| 56 |
output_html_with_http_headers $query, $cookie, $template->output; |
55 |
output_html_with_http_headers $query, $cookie, $template->output; |
| 57 |
- |
|
|