Bug 32589: Improve headings on result tables for 'Items with no checkouts'
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 7 Jan 2023 01:34:24 +0000 (01:34 +0000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Tue, 31 Jan 2023 18:00:02 +0000 (18:00 +0000)
commit29c5e2288a3874c964acf3a73f75cbb9adf0073f
treef632f7dfe4e234c821465d07e1b9734eb09bf9b1
parentfd0bbe84d327d015c8aa44a4c2f3f2087b7c2a78
Bug 32589: Improve headings on result tables for 'Items with no checkouts'

When no filter was selected on the search form, the heading on
the results table showed as NULL. When library or item type were
selected the codes instead of the descriptions showed.

To test:
* Without patch:
* Run the 'items with no checkouts' report with different settings
  for 'By:'. Verify the headings on the tables are not nice.
* Apply patch
* Rerun reports
  * Headings should be "Ungrouped, item type or library descriptions
  * Summary table also shows item type and library descriptions

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  → OK. Would be nice to have decoding also in 'Filtered on' top section
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 37302e71fc7fab6dece6914a5438044bd1e8a14c)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt