Skip to content

Commit

Permalink
Merge pull request #29 from jotkaka/bug-29844-follow-up
Browse files Browse the repository at this point in the history
Bug 29844 follow-up (as_list)
  • Loading branch information
kylemhall authored Nov 10, 2024
2 parents d35a96d + 372f025 commit 97b991e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ sub report_step1 {

my $template = $self->get_template({ file => 'report-step1.tt' });

my @libraries = Koha::Libraries->search;
my @categories = Koha::Patron::Categories->search({}, {order_by => ['description']});
my @libraries = Koha::Libraries->search->as_list;
my @categories = Koha::Patron::Categories->search({}, {order_by => ['description']})->as_list;
$template->param(
libraries => \@libraries,
categories => \@categories,
Expand Down

0 comments on commit 97b991e

Please sign in to comment.