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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref (+17 lines)
Lines 627-632 Circulation: Link Here
627
            - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.<br/>"
627
            - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.<br/>"
628
            - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.<br/>"
628
            - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.<br/>"
629
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
629
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
630
        -
631
            - pref: UpdateItemLocationOnCheckout
632
              type: textarea
633
              syntax: text/x-yaml
634
              class: code
635
            - "This is a list of value pairs. The first value is followed immediately by colon space then the second value.<br/><br/>"
636
            - "Examples:<br/>"
637
            - "PROC: FIC - causes an item in the Processing Center location to be updated into the Fiction location on check out.<br/>"
638
            - "FIC: GEN - causes an item in the Fiction location to be updated into the General stacks location on check out.<br/>"
639
            - "_BLANK_: FIC - causes an item that has no location to be updated into the Fiction location on check out.<br/>"
640
            - "FIC: _BLANK_ - causes an item in location FIC to be updated to a blank location on check out.<br/>"
641
            - "_ALL_: FIC - causes all items to be updated into the Fiction location on check out.<br/>"
642
            - "PROC: _PERM_ - causes an item that is in the Processing Center to be updated to it's permanent location.<br/><br/>"
643
            - "General rule: if the location value on the left of the colon (:) matches the item's current location, it will be updated to match the location value on the right of the colon (:).<br/>"
644
            - "Note: PROC and CART are special values, for these locations the location and permanent_location can differ, in all other cases an update will affect both. Items in the CART location will be returned to their permanent location on checkout.<br/>"
645
            - "The special term _BLANK_ may be used on either side of a value pair to update or remove the location from items with no location assigned.<br/>"
646
            - "The special term _ALL_ is used on the left side of the colon (:) to affect all items, <strong>and overrides all other rules.</strong>"
630
        -
647
        -
631
            - pref: UpdateNotForLoanStatusOnCheckin
648
            - pref: UpdateNotForLoanStatusOnCheckin
632
              type: textarea
649
              type: textarea
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js (-2 / +1 lines)
Lines 249-255 $( document ).ready( function () { Link Here
249
        document.location.hash = "jumped";
249
        document.location.hash = "jumped";
250
    }
250
    }
251
251
252
    $("#pref_UpdateItemLocationOnCheckin").change(function(){
252
    $("#pref_UpdateItemLocationOnCheckin, #pref_UpdateItemLocationOnCheckout").change(function(){
253
        var the_text = $(this).val();
253
        var the_text = $(this).val();
254
        var alert_text = '';
254
        var alert_text = '';
255
        if (the_text.indexOf('_ALL_:') != -1) alert_text = __("Note: _ALL_ value will override all other values") + '\n';
255
        if (the_text.indexOf('_ALL_:') != -1) alert_text = __("Note: _ALL_ value will override all other values") + '\n';
256
- 

Return to bug 21159