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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt (-1 / +4 lines)
Lines 50-57 Link Here
50
    </div>
50
    </div>
51
    </div>
51
    </div>
52
52
53
    [% IF ONLY_ONE || updated_exclude_from_local_holds_priority.defined %]
54
    <hr />
55
    [% END %]
56
53
    [% IF ( ONLY_ONE ) %]
57
    [% IF ( ONLY_ONE ) %]
54
        <hr />
55
        <div class="dialog message">You are only viewing one item.  <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber | uri %]&amp;bi=[% biblioitemnumber | uri %]#item[% itemnumber | uri %]">View All</a></div>
58
        <div class="dialog message">You are only viewing one item.  <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber | uri %]&amp;bi=[% biblioitemnumber | uri %]#item[% itemnumber | uri %]">View All</a></div>
56
    [% END %]
59
    [% END %]
57
60
(-)a/tools/batchMod.pl (-13 / +16 lines)
Lines 231-240 if ($op eq "action") { Link Here
231
                            }
231
                            }
232
                        }
232
                        }
233
                        else {
233
                        else {
234
                            $item->exclude_from_local_holds_priority($exclude_from_local_holds_priority)->store if defined $exclude_from_local_holds_priority;
234
                            my $modified_holds_priority = 0;
235
                            if (defined $exclude_from_local_holds_priority && $item->exclude_from_local_holds_priority != $exclude_from_local_holds_priority) {
236
                                $item->exclude_from_local_holds_priority($exclude_from_local_holds_priority)->store;
237
                                $modified_holds_priority = 1;
238
                            }
239
                            my $modified = 0;
235
                            if ( $values_to_modify || $values_to_blank ) {
240
                            if ( $values_to_modify || $values_to_blank ) {
236
                                my $localmarcitem = Item2Marc($itemdata);
241
                                my $localmarcitem = Item2Marc($itemdata);
237
                                my $modified = 0;
238
242
239
                                for ( my $i = 0 ; $i < @tags ; $i++ ) {
243
                                for ( my $i = 0 ; $i < @tags ; $i++ ) {
240
                                    my $search = $searches[$i];
244
                                    my $search = $searches[$i];
Lines 292-307 if ($op eq "action") { Link Here
292
                                        }
296
                                        }
293
                                    };
297
                                    };
294
                                }
298
                                }
295
                                if ($runinbackground) {
299
                            }
296
                                    $modified_items++ if $modified;
300
                            if ($runinbackground) {
297
                                    $modified_fields += $modified;
301
                                $modified_items++ if $modified || $modified_holds_priority;
298
                                    $job->set(
302
                                $modified_fields += $modified + $modified_holds_priority;
299
                                        {
303
                                $job->set(
300
                                            modified_items  => $modified_items,
304
                                    {
301
                                            modified_fields => $modified_fields,
305
                                        modified_items  => $modified_items,
302
                                        }
306
                                        modified_fields => $modified_fields,
303
                                    );
307
                                    }
304
                                }
308
                                );
305
                            }
309
                            }
306
                        }
310
                        }
307
                        $i++;
311
                        $i++;
308
- 

Return to bug 19889