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

(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js (-4 / +4 lines)
Lines 126-132 $(document).ready(function() { Link Here
126
                $('#illfilter_dateplaced_start, #illfilter_dateplaced_end').val('');
126
                $('#illfilter_dateplaced_start, #illfilter_dateplaced_end').val('');
127
            }
127
            }
128
        }
128
        }
129
    };
129
    }; //END Filterable columns
130
130
131
    // Expand any fields we're expanding
131
    // Expand any fields we're expanding
132
    var expandExpand = function(row) {
132
    var expandExpand = function(row) {
Lines 154-159 $(document).ready(function() { Link Here
154
            }
154
            }
155
        });
155
        });
156
    };
156
    };
157
    //END Expand
157
158
158
    // Strip the expand prefix if it exists, we do this for display
159
    // Strip the expand prefix if it exists, we do this for display
159
    var stripPrefix = function(value) {
160
    var stripPrefix = function(value) {
Lines 363-369 $(document).ready(function() { Link Here
363
    // it to datatables
364
    // it to datatables
364
    var filterParam = prefilters ? '&' + prefilters : '';
365
    var filterParam = prefilters ? '&' + prefilters : '';
365
    // Only fire the request if we're on the ILL list page
366
    // Only fire the request if we're on the ILL list page
366
    if (window.location.search.length == 0) {}
367
    if (window.location.search.length == 0) {
367
        var ajax = $.ajax(
368
        var ajax = $.ajax(
368
            '/api/v1/illrequests?embed=metadata,patron,capabilities,library,status_alias,comments,requested_partners'
369
            '/api/v1/illrequests?embed=metadata,patron,capabilities,library,status_alias,comments,requested_partners'
369
            + filterParam
370
            + filterParam
Lines 499-505 $(document).ready(function() { Link Here
499
            });
500
            });
500
501
501
        });
502
        });
502
    }
503
    } //END if window.location.search.length == 0
503
504
504
    var clearSearch = function() {
505
    var clearSearch = function() {
505
        table.api().search('').columns().search('');
506
        table.api().search('').columns().search('');
506
- 

Return to bug 23529