Bug 31141: Remove 'select_column' from waiting_holds.inc
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Jul 2022 10:22:36 +0000 (11:22 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 15:56:41 +0000 (15:56 +0000)
commit3f0a70a271bda696b9e39b162faca1c504a980b8
tree0a40c1057ef3927ec91b42c396ad098f38d16282
parent20a9c16e6b505d081f6875cce66fd2fb6ee66bbc
Bug 31141: Remove 'select_column' from waiting_holds.inc

In the only place we use the waiting_holds include, we were hard coded
to always pass the 'select_column' variable as true.

We can simply and clarify the logic by just removing this superflous
variable.

Test plan
1. Confirm that the waiting holds tables continue to display as expected

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f58099a2440a8482b09ae14df89c1cd6eb43c5d6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc
koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt