Koha::Objects not anymore uses "wantarray" detection in ->search(, so
it never returns list so ->as_list should be added, or iterator should
($items->next) be used.
Note: only Koha::Plugin::Fi::KohaSuomi::DI::Koha::Availability::Checks::CirculationRule directly tested :)
Koha::Objects not anymore uses "wantarray" detection in ->search(, so it never returns list so ->as_list should be added, or iterator should ($items->next) be used.
Note: only Koha::Plugin::Fi::KohaSuomi::DI::Koha::Availability::Checks::CirculationRule directly tested :)