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 523-532 $(document).ready(function() { Link Here
523
            },
523
            },
524
            success: function(backends){
524
            success: function(backends){
525
                backends.sort((a, b) => a.ill_backend_id.localeCompare(b.ill_backend_id)).forEach(function(backend) {
525
                backends.sort((a, b) => a.ill_backend_id.localeCompare(b.ill_backend_id)).forEach(function(backend) {
526
                    $('#illfilter_backend').append(
526
                    if( $('#illfilter_backend option[value=' + backend.ill_backend_id + ']').length == 0 ){
527
                        '<option value="' + backend.ill_backend_id  +
527
                        $('#illfilter_backend').append(
528
                        '">' + backend.ill_backend_id +  '</option>'
528
                            '<option value="' + backend.ill_backend_id  +
529
                    );
529
                            '">' + backend.ill_backend_id +  '</option>'
530
                        );
531
                    }
530
                });
532
                });
531
533
532
                let all_existing_statuses = [];
534
                let all_existing_statuses = [];
Lines 559-565 $(document).ready(function() { Link Here
559
                        }
561
                        }
560
                    }
562
                    }
561
                )
563
                )
562
563
            }
564
            }
564
        });
565
        });
565
    }
566
    }
566
- 

Return to bug 34431