Bug 26274: (QA follow-up) Fix the order of summary groups
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 17 Feb 2021 15:00:15 +0000 (15:00 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 17 Feb 2021 15:21:22 +0000 (16:21 +0100)
commit02b9c904fee4f910fc71dcad1a473659830702d8
treee063c744e8437bfd34156a86663c798723446f28
parent02b056508df4c4e7e3eb33a5f354300339e8048d
Bug 26274: (QA follow-up) Fix the order of summary groups

The grouped income/outgoing summaries were not being explicitly
ordered and it appears the default ordering for MySQL 8 is different to
that of MariaDB and previous versions of MySQL and as such was causing
test failures for that version. This patch adds an explicit sort on the
'description' for each debit_type and credit_type grouping.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Cash/Register/Cashup.pm