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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (+17 lines)
Lines 445-450 Circulation: Link Here
445
            - "."
445
            - "."
446
            - <br>Leave this field empty if you don't want to skip any <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> statuses.
446
            - <br>Leave this field empty if you don't want to skip any <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=LOST">LOST</a> statuses.
447
            - <br>Set to a list of comma separated values, e.g. <em>5,6,7</em>.
447
            - <br>Set to a list of comma separated values, e.g. <em>5,6,7</em>.
448
        -
449
            - pref: DefaultLongOverdueBorrowerCategories
450
              choices: patron-categories
451
              class: multiple
452
            - the borrower categories that will be listed. Exclude all others.
453
            - <br>WARNING — This preference will be active only if DefaultLongOverdueSkipBorrowerCategories is empty.
454
            - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it."
455
456
457
        -   
458
            - pref: DefaultLongOverdueSkipBorrowerCategories
459
              choices: patron-categories
460
              class: multiple
461
            - the borrower categories that will not be listed. Include all others.
462
            - <br>WARNING - This preference overrides the DefaultLongOverdueBorrowerCategories preference, so the DefaultLongOverdueBorrowerCategories filter will not take effect.
463
            - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it."
464
448
        -
465
        -
449
            - "When issuing an item that has been marked as lost, "
466
            - "When issuing an item that has been marked as lost, "
450
            - pref: IssueLostItem
467
            - pref: IssueLostItem
(-)a/misc/cronjobs/longoverdue.pl (-1 / +11 lines)
Lines 275-280 if ( ! defined($charge) ) { Link Here
275
        $charge = $charge_value;
275
        $charge = $charge_value;
276
    }
276
    }
277
}
277
}
278
279
if ( C4::Context->preference('DefaultLongOverdueBorrowerCategories') ) {
280
    my $categories = C4::Context->preference('DefaultLongOverdueBorrowerCategories');
281
    $borrower_category = [ split( ',', $categories ) ];
282
}
283
284
if ( C4::Context->preference('DefaultLongOverdueSkipBorrowerCategories') ) {
285
    my $categories = C4::Context->preference('DefaultLongOverdueSkipBorrowerCategories');
286
    $skip_borrower_category = [ split( ',', $categories ) ];
287
}
288
278
unless ($confirm) {
289
unless ($confirm) {
279
    $verbose = 1;     # If you're not running it for real, then the whole point is the print output.
290
    $verbose = 1;     # If you're not running it for real, then the whole point is the print output.
280
    print "### TEST MODE -- NO ACTIONS TAKEN ###\n";
291
    print "### TEST MODE -- NO ACTIONS TAKEN ###\n";
281
- 

Return to bug 35169