[Koha-bugs] [Bug 34107] Sorting agreements by Name actually sorts by ID
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 4 17:27:06 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34107
Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #153019|0 |1
is obsolete| |
--- Comment #8 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 153020
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153020&action=edit
Bug 34107: Switch order for id and name feeding the first column in datatables
Test plan:
* Create 3 agreements, agreement #1 named 'a', agreement #2 named 'c' and
agreement #3 named 'b'.
* Go to agreements list, click the Name column header, notice how the
agreements get sorted by id #, not by first char in name. Expected order would
be abc or cba, but it's acb or bca.
* Apply patch, on k-t-d, run the following if you're not using 'yarn js:watch':
yarn js:build
* Sort the list again on the 'name' column, notice how it now sorts
alphabetically as expected, either abc or cba.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list