Bug 24092 - Change Koha::Item to use Items::LastPatrons instead of ItemLastBorrower resultset
Summary: Change Koha::Item to use Items::LastPatrons instead of ItemLastBorrower resul...
Status: RESOLVED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 23260
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-22 15:02 UTC by Agustín Moyano
Modified: 2023-11-28 13:51 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agustín Moyano 2019-11-22 15:02:46 UTC
Koha::Item uses

my $items_last_returned_by_rs = Koha::Database->new()->schema()->resultset('ItemsLastBorrower');

to retrieve item's last borrower.

It should use Items::LastPatrons class introduced in bug 23260
Comment 1 Martin Renvoize 2020-01-03 12:43:27 UTC
I'm not at all sure this is a good idea at this time.. see discussion on bug 23260
Comment 2 Nick Clemens 2023-11-28 13:51:27 UTC
That module was removed from the patches - closing this