Bug 23493: (follow-up) Disable rowGroup on due date sort
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Jan 2020 11:27:51 +0000 (11:27 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 29 Jan 2020 11:33:34 +0000 (11:33 +0000)
commit644ed8860aea4b1297d978700c2966a93e10628a
tree34f97ba63d10e9da8c11604d99bc97c855629622
parent930fedd46282bc46027332f4986f3baaee72b4ad
Bug 23493: (follow-up) Disable rowGroup on due date sort

When sorting by due date you are much more likely to want the true date
sorting without forcing a primary sort on the grouping column. This
patch achieves that by removing the primary sort on checkout date and
disable rowGrouping in such a case.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js