Disable datatable ordering on registration list
authorMagnus Hagander <magnus@hagander.net>
Tue, 18 Sep 2018 16:12:58 +0000 (18:12 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 18 Sep 2018 16:12:58 +0000 (18:12 +0200)
It can't handle NULLs the way we need it, and we have server side
ordering already. It's the searching that's important...

template/confreg/admin_registration_list.html

index ec2a7719e82c3932d3c6785443fddfcbd4ca65c3..987ea49d4cc177ee0664b18988a556fdcfdac386 100644 (file)
@@ -18,6 +18,7 @@ $(document).ready(function() {
    $('.datatable-tbl').DataTable({
       'paging': false,
       'info': false,
+      'ordering': false,
       'columnDefs': [
          { targets: 'coltype-nosort', orderable: false},
          { targets: 'coltype-nosearch', searchable: false},