Bug 34013: Recalls awaiting pickup doesn't show count on each tab
authorOwen Leonard <oleonard@myacpl.org>
Wed, 14 Jun 2023 17:23:40 +0000 (17:23 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Jul 2023 13:51:00 +0000 (14:51 +0100)
commitcdaa88d9c096e9fa20d3dc0919e9fb2a9f9a1554
tree8cab550bc8558651e69e83850c7742d925fd74bb
parent4e2b346b07fce75b00585b6a3fb403d496f4cebb
Bug 34013: Recalls awaiting pickup doesn't show count on each tab

This patch modifies recalls_waiting.pl so that it defines template
variables for 'recalls waiting' and 'recalls waiting over x days'
counts in the same way that waitingreserves.pl handles it.

To test you must have UseRecalls enabled, and some recalls data that
will allow you to see content under each tab.

Go to Circulation -> Recalls awaiting pickup and confirm that both tabs
show the correct count.

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 44759b4be3aa4c3088edca77837d5d278de5cb1e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_waiting.tt
recalls/recalls_waiting.pl