]> git.koha-community.org Git - koha.git/commit
Bug 33973: Restore sorting on Vue tables
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Jun 2023 14:36:43 +0000 (16:36 +0200)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 18 Jul 2023 10:49:32 +0000 (10:49 +0000)
commit7408ac070f8dcb63937eddaccc20285f40acb9df
tree3921affc9584dcec20046e0b8d8d03b55a1e61e0
parentbd3f6844b5cf0a6138d38c5276a0dfba166cdc72
Bug 33973: Restore sorting on Vue tables

Regression from the KohaTable Vue component added by bug 33066.

_dt_default_ajax expects options.columns to contain the columns.

Test plan:
Add some agreements, go the the agreement list view and confirm that you
can now sort the agreements using the header columns.

Note that the CSS is not correct yet. My understanding is that the
DataTable Vue component keep the 'sorting' class on the th which display
the grey up/down icon over the blue icon which indicate the current sort
column.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 7990f3e74142ab20c813534ea615586965524415)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 5799f4bed2918dd21d2d4d4606c5b2f6aa2651d9)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/vue/components/KohaTable.vue