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

(-)a/tools/viewlog.pl (-3 / +4 lines)
Lines 53-59 my @modules = $input->multi_param("modules"); Link Here
53
my $user     = $input->param("user") // '';
53
my $user     = $input->param("user") // '';
54
my @actions  = $input->multi_param("actions");
54
my @actions  = $input->multi_param("actions");
55
my @interfaces  = $input->multi_param("interfaces");
55
my @interfaces  = $input->multi_param("interfaces");
56
my $object   = $input->param("object");
56
my $object   = $input->param("object") // '';
57
my $object_type = $input->param("object_type") // '';
57
my $object_type = $input->param("object_type") // '';
58
my $info     = $input->param("info");
58
my $info     = $input->param("info");
59
my $datefrom = $input->param("from");
59
my $datefrom = $input->param("from");
Lines 90-99 if ( $src eq 'circ' ) { Link Here
90
$template->param(
90
$template->param(
91
    debug => $debug,
91
    debug => $debug,
92
    C4::Search::enabled_staff_search_views,
92
    C4::Search::enabled_staff_search_views,
93
    subscriptionsnumber => CountSubscriptionFromBiblionumber(scalar $input->param('object')),
94
    object => $object,
93
    object => $object,
95
);
94
);
96
95
96
my $subscriptionsnumber = CountSubscriptionFromBiblionumber($object);
97
$template->param( subscriptionsnumber => $subscriptionsnumber ) if $subscriptionsnumber;
98
97
if ($do_it) {
99
if ($do_it) {
98
    my $dtf = Koha::Database->new->schema->storage->datetime_parser;
100
    my $dtf = Koha::Database->new->schema->storage->datetime_parser;
99
    my %search_params;
101
    my %search_params;
100
- 

Return to bug 26137