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

(-)a/catalogue/issuehistory.pl (+2 lines)
Lines 24-29 use C4::Output; Link Here
24
24
25
use C4::Biblio;    # GetBiblio
25
use C4::Biblio;    # GetBiblio
26
use C4::Search;		# enabled_staff_search_views
26
use C4::Search;		# enabled_staff_search_views
27
use C4::Serials;
27
use Koha::Checkouts;
28
use Koha::Checkouts;
28
use Koha::Old::Checkouts;
29
use Koha::Old::Checkouts;
29
30
Lines 64-69 $template->param( Link Here
64
    biblio    => $biblio,
65
    biblio    => $biblio,
65
	issuehistoryview => 1,
66
	issuehistoryview => 1,
66
	C4::Search::enabled_staff_search_views,
67
	C4::Search::enabled_staff_search_views,
68
    subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber),
67
);
69
);
68
70
69
output_html_with_http_headers $query, $cookie, $template->output;
71
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/catalogue/labeledMARCdetail.pl (+2 lines)
Lines 27-32 use C4::Output; Link Here
27
use C4::Biblio;
27
use C4::Biblio;
28
use C4::Items;
28
use C4::Items;
29
use C4::Search;		# enabled_staff_search_views
29
use C4::Search;		# enabled_staff_search_views
30
use C4::Serials;
30
use C4::Acquisition qw(GetOrdersByBiblionumber);
31
use C4::Acquisition qw(GetOrdersByBiblionumber);
31
32
32
use Koha::Biblios;
33
use Koha::Biblios;
Lines 121-126 $template->param ( Link Here
121
	labeledmarcview => 1,
122
	labeledmarcview => 1,
122
	z3950_search_params		=> C4::Search::z3950_search_args($biblio),
123
	z3950_search_params		=> C4::Search::z3950_search_args($biblio),
123
	C4::Search::enabled_staff_search_views,
124
	C4::Search::enabled_staff_search_views,
125
    subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber),
124
    searchid            => scalar $query->param('searchid'),
126
    searchid            => scalar $query->param('searchid'),
125
);
127
);
126
128
(-)a/catalogue/stockrotation.pl (+3 lines)
Lines 30-35 use CGI; Link Here
30
use C4::Auth;
30
use C4::Auth;
31
use C4::Output;
31
use C4::Output;
32
use C4::Search;
32
use C4::Search;
33
use C4::Serials;
33
34
34
use Koha::Biblio;
35
use Koha::Biblio;
35
use Koha::Item;
36
use Koha::Item;
Lines 123-128 if (!defined $op) { Link Here
123
        biblio            => $biblio,
124
        biblio            => $biblio,
124
        biblionumber      => $biblio->biblionumber,
125
        biblionumber      => $biblio->biblionumber,
125
        stockrotationview => 1,
126
        stockrotationview => 1,
127
        subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber),
126
        C4::Search::enabled_staff_search_views
128
        C4::Search::enabled_staff_search_views
127
    );
129
    );
128
130
Lines 165-170 if (!defined $op) { Link Here
165
        item_id           => $params{item_id},
167
        item_id           => $params{item_id},
166
        biblionumber      => $params{biblionumber},
168
        biblionumber      => $params{biblionumber},
167
        stockrotationview => 1,
169
        stockrotationview => 1,
170
        subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber),
168
        C4::Search::enabled_staff_search_views
171
        C4::Search::enabled_staff_search_views
169
    );
172
    );
170
173
(-)a/circ/request-article.pl (+2 lines)
Lines 23-28 use C4::Output; Link Here
23
use C4::Auth;
23
use C4::Auth;
24
use C4::Utils::DataTables::Members;
24
use C4::Utils::DataTables::Members;
25
use C4::Search;
25
use C4::Search;
26
use C4::Serials;
26
use Koha::Biblios;
27
use Koha::Biblios;
27
use Koha::Patrons;
28
use Koha::Patrons;
28
use Koha::ArticleRequests;
29
use Koha::ArticleRequests;
Lines 110-115 if ( !$patron && $patron_cardnumber ) { Link Here
110
$template->param(
111
$template->param(
111
    biblio => $biblio,
112
    biblio => $biblio,
112
    patron => $patron,
113
    patron => $patron,
114
    subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber),
113
    C4::Search::enabled_staff_search_views,
115
    C4::Search::enabled_staff_search_views,
114
);
116
);
115
117
(-)a/reserve/request.pl (+2 lines)
Lines 37-42 use C4::Reserves; Link Here
37
use C4::Biblio;
37
use C4::Biblio;
38
use C4::Items;
38
use C4::Items;
39
use C4::Koha;
39
use C4::Koha;
40
use C4::Serials;
40
use C4::Circulation;
41
use C4::Circulation;
41
use Koha::DateUtils;
42
use Koha::DateUtils;
42
use C4::Utils::DataTables::Members;
43
use C4::Utils::DataTables::Members;
Lines 633-638 $template->param( biblioloop => \@biblioloop ); Link Here
633
$template->param( biblionumbers => $biblionumbers );
634
$template->param( biblionumbers => $biblionumbers );
634
$template->param( exceeded_maxreserves => $exceeded_maxreserves );
635
$template->param( exceeded_maxreserves => $exceeded_maxreserves );
635
$template->param( exceeded_holds_per_record => $exceeded_holds_per_record );
636
$template->param( exceeded_holds_per_record => $exceeded_holds_per_record );
637
$template->param( subscriptionsnumber => CountSubscriptionFromBiblionumber($biblionumber));
636
638
637
if ( C4::Context->preference( 'AllowHoldDateInFuture' ) ) {
639
if ( C4::Context->preference( 'AllowHoldDateInFuture' ) ) {
638
    $template->param( reserve_in_future => 1 );
640
    $template->param( reserve_in_future => 1 );
(-)a/tools/viewlog.pl (-1 / +2 lines)
Lines 28-33 use C4::Koha; Link Here
28
use C4::Output;
28
use C4::Output;
29
use C4::Log;
29
use C4::Log;
30
use C4::Items;
30
use C4::Items;
31
use C4::Serials;
31
use C4::Debug;
32
use C4::Debug;
32
use C4::Search;    # enabled_staff_search_views
33
use C4::Search;    # enabled_staff_search_views
33
use Koha::Patrons;
34
use Koha::Patrons;
Lines 94-99 if ( $src eq 'circ' ) { Link Here
94
$template->param(
95
$template->param(
95
    debug => $debug,
96
    debug => $debug,
96
    C4::Search::enabled_staff_search_views,
97
    C4::Search::enabled_staff_search_views,
98
    subscriptionsnumber => CountSubscriptionFromBiblionumber($input->param('object')),
97
    object => $object,
99
    object => $object,
98
);
100
);
99
101
100
- 

Return to bug 21291