https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36403

--- Comment #2 from Juliet Heltibridle <[email protected]> ---
 I think we still need to have a way to set which column is the default sort
order, but I added this to my IntranetUserJS to set the sort order using the
Description column instead of the Code column once the table loads. I was
assisted by Claude AI in creating this.

  $('#invoices').on('init.dt', function () {
      var table = $('#invoices').DataTable();
      table.order([1, 'asc']);
      table.page.len(-1);
      table.draw();
  });

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to