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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (+2 lines)
Lines 874-879 Link Here
874
                if (itemnumbers.length > 0) {
874
                if (itemnumbers.length > 0) {
875
                    var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
875
                    var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
876
                    url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
876
                    url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
877
                    url += '&biblionumber=[% biblionumber | uri %]';
877
                    url += '&src=CATALOGUING';
878
                    url += '&src=CATALOGUING';
878
                    $('a.itemselection_action_delete').attr('href', url);
879
                    $('a.itemselection_action_delete').attr('href', url);
879
                } else {
880
                } else {
Lines 890-895 Link Here
890
                if (itemnumbers.length > 0) {
891
                if (itemnumbers.length > 0) {
891
                    var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
892
                    var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
892
                    url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
893
                    url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
894
                    url += '&biblionumber=[% biblionumber | uri %]';
893
                    url += '&src=CATALOGUING';
895
                    url += '&src=CATALOGUING';
894
                    $('a.itemselection_action_modify').attr('href', url);
896
                    $('a.itemselection_action_modify').attr('href', url);
895
                } else {
897
                } else {
(-)a/tools/batchMod.pl (-2 / +1 lines)
Lines 318-324 if ($op eq "show"){ Link Here
318
            @notfounditemnumbers = grep { !exists $itemdata{$_} } @contentlist;
318
            @notfounditemnumbers = grep { !exists $itemdata{$_} } @contentlist;
319
        }
319
        }
320
    } else {
320
    } else {
321
        if (defined $biblionumber){
321
        if (defined $biblionumber && !@itemnumbers){
322
            my @all_items = GetItemsInfo( $biblionumber );
322
            my @all_items = GetItemsInfo( $biblionumber );
323
            foreach my $itm (@all_items) {
323
            foreach my $itm (@all_items) {
324
                push @itemnumbers, $itm->{itemnumber};
324
                push @itemnumbers, $itm->{itemnumber};
325
- 

Return to bug 24423