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

(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-5 / +2 lines)
Lines 119-124 $(document).ready(function() { Link Here
119
        number: true
119
        number: true
120
    });
120
    });
121
121
122
    jQuery.validator.addMethod("decimal_rate", jQuery.validator.methods.number, __("Please add rate in valid format: 0.00"));
123
122
    jQuery.validator.addClassRules("rate", {
124
    jQuery.validator.addClassRules("rate", {
123
        decimal_rate: true
125
        decimal_rate: true
124
    });
126
    });
Lines 552-567 function expandPatronSearchFields(search_fields) { Link Here
552
    switch(search_fields) {
554
    switch(search_fields) {
553
        case 'standard':
555
        case 'standard':
554
            return defaultPatronSearchFields;
556
            return defaultPatronSearchFields;
555
            break;
556
        case 'full_address':
557
        case 'full_address':
557
            return 'streetnumber|streettype|address|address2|city|state|zipcode|country';
558
            return 'streetnumber|streettype|address|address2|city|state|zipcode|country';
558
            break;
559
        case 'all_emails':
559
        case 'all_emails':
560
            return 'email|emailpro|B_email';
560
            return 'email|emailpro|B_email';
561
            break;
562
        case 'all_phones':
561
        case 'all_phones':
563
            return 'phone|phonepro|B_phone|altcontactphone|mobile';
562
            return 'phone|phonepro|B_phone|altcontactphone|mobile';
564
            break;
565
        default:
563
        default:
566
            return search_fields;
564
            return search_fields;
567
    }
565
    }
568
- 

Return to bug 35087