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

(-)a/koha-tmpl/intranet-tmpl/prog/js/ill-list-table.js (-6 / +6 lines)
Lines 501-510 $(document).ready(function() { Link Here
501
            },
501
            },
502
            success: function(backends){
502
            success: function(backends){
503
                backends.sort((a, b) => a.ill_backend_id.localeCompare(b.ill_backend_id)).forEach(function(backend) {
503
                backends.sort((a, b) => a.ill_backend_id.localeCompare(b.ill_backend_id)).forEach(function(backend) {
504
                    $('#illfilter_backend').append(
504
                    if( $('#illfilter_backend option[value=' + backend.ill_backend_id + ']').length == 0 ){
505
                        '<option value="' + backend.ill_backend_id  +
505
                        $('#illfilter_backend').append(
506
                        '">' + backend.ill_backend_id +  '</option>'
506
                            '<option value="' + backend.ill_backend_id  +
507
                    );
507
                            '">' + backend.ill_backend_id +  '</option>'
508
                        );
509
                    }
508
                });
510
                });
509
511
510
                let all_existing_statuses = [];
512
                let all_existing_statuses = [];
Lines 537-543 $(document).ready(function() { Link Here
537
                        }
539
                        }
538
                    }
540
                    }
539
                )
541
                )
540
541
            }
542
            }
542
        });
543
        });
543
    }
544
    }
544
- 

Return to bug 34431