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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc (-1 / +1 lines)
Lines 110-116 Link Here
110
        [%- ELSE -%]
110
        [%- ELSE -%]
111
        <li>
111
        <li>
112
        [%- END -%]
112
        [%- END -%]
113
            <a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=[% biblio_object_id | url  %]&amp;object_type=biblio">Modification log</a>
113
            <a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=[% biblio_object_id | url  %]">Modification log</a>
114
        </li>
114
        </li>
115
        [%- END -%]
115
        [%- END -%]
116
116
(-)a/tools/viewlog.pl (-3 / +1 lines)
Lines 50-56 my $user = $input->param("user") // ''; Link Here
50
my @actions  = $input->multi_param("actions");
50
my @actions  = $input->multi_param("actions");
51
my @interfaces  = $input->multi_param("interfaces");
51
my @interfaces  = $input->multi_param("interfaces");
52
my $object   = $input->param("object");
52
my $object   = $input->param("object");
53
my $object_type = $input->param("object_type") // '';
54
my $info     = $input->param("info");
53
my $info     = $input->param("info");
55
my $datefrom = $input->param("from");
54
my $datefrom = $input->param("from");
56
my $dateto   = $input->param("to");
55
my $dateto   = $input->param("to");
Lines 128-134 if ($do_it) { Link Here
128
    $search_params{action} = { -in => [ @actions ] } if ( defined $actions[0] && $actions[0] ne '' );
127
    $search_params{action} = { -in => [ @actions ] } if ( defined $actions[0] && $actions[0] ne '' );
129
    $search_params{interface} = { -in => [ @interfaces ] } if ( defined $interfaces[0] && $interfaces[0] ne '' );
128
    $search_params{interface} = { -in => [ @interfaces ] } if ( defined $interfaces[0] && $interfaces[0] ne '' );
130
129
131
    if ( @modules == 1 && $object_type eq 'biblio' ) {
130
    if ( @modules == 1 ) {
132
        # Handle 'Modification log' from cataloguing
131
        # Handle 'Modification log' from cataloguing
133
        my $biblio = Koha::Biblios->find( $object );
132
        my $biblio = Koha::Biblios->find( $object );
134
        my @itemnumbers = $biblio->items->get_column('itemnumber');
133
        my @itemnumbers = $biblio->items->get_column('itemnumber');
135
- 

Return to bug 37701