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 451-456 Circulation: Link Here
451
            - "."
451
            - "."
452
            - <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.
452
            - <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.
453
            - <br>Set to a list of comma separated values, e.g. <em>5,6,7</em>.
453
            - <br>Set to a list of comma separated values, e.g. <em>5,6,7</em>.
454
        -
455
            - pref: DefaultLongOverdueBorrowerCategories
456
              choices: patron-categories
457
              class: multiple
458
            - the borrower categories that will be listed. Exclude all others.
459
            - <br>WARNING — This preference will be active only if DefaultLongOverdueSkipBorrowerCategories is empty.
460
            - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it."
461
462
463
        -
464
            - pref: DefaultLongOverdueSkipBorrowerCategories
465
              choices: patron-categories
466
              class: multiple
467
            - the borrower categories that will not be listed. Include all others.
468
            - <br>WARNING - This preference overrides the DefaultLongOverdueBorrowerCategories preference, so the DefaultLongOverdueBorrowerCategories filter will not take effect.
469
            - "<br><strong>NOTE:</strong> This system preference requires the <code>misc/cronjobs/longoverdue.pl</code> cronjob. Ask your system administrator to schedule it."
470
454
        -
471
        -
455
            - "When issuing an item that has been marked as lost, "
472
            - "When issuing an item that has been marked as lost, "
456
            - pref: IssueLostItem
473
            - 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