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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Jun 2023 13:01:04 +0000 (10:01 -0300)
commit44759b4be3aa4c3088edca77837d5d278de5cb1e
treee365c0e35e44ea1c6577651f829d5eea8315e3f1
parent309148160b34e5dbb6f2ca723d1c2aeb1400d6ba
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>
koha-tmpl/intranet-tmpl/prog/en/modules/recalls/recalls_waiting.tt
recalls/recalls_waiting.pl