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

            Bug ID: 42011
           Summary: Unused arguments in members/readingrec.pl
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

In members/readingrec.pl:

112             my $oc = $patron->old_checkouts(
113                 {},
114                 {
115                     order_by => 'date_due desc',
116                     prefetch => { item => { biblio => 'biblioitems' } },
117                 }
118             )->as_list;

old_checkout does not take any argument, is a ->search missing ? order_by
syntax looks obsolete too
https://metacpan.org/pod/DBIx::Class::ResultSet#order_by

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to