[Koha-bugs] [Bug 19935] Move C4::Members::GetPendingIssues to the Koha namespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 3 13:34:40 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19935

--- Comment #33 from Josef Moravec <josef.moravec at gmail.com> ---
Comment on attachment 72759
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72759
Bug 19935: Replace GetPendingIssues - opac-user.pl

Review of attachment 72759:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=19935&attachment=72759)
-----------------------------------------------------------------

::: opac/opac-user.pl
@@ +180,4 @@
>  my @overdues;
>  my @issuedat;
>  my $itemtypes = { map { $_->{itemtype} => $_ } @{ Koha::ItemTypes->search_with_localization->unblessed } };
> +my $pending_checkouts = $patron->pending_checkouts({}, { order_by => [ { -desc => 'date_due' }, { -asc => 'issue_id' } ] });

I think it should be $patron->pending_checkouts->search

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list