[Koha-bugs] [Bug 31306] Add Koha::Items->search_ordered method
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 9 14:58:43 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31306
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #138838|0 |1
is obsolete| |
Attachment #138839|0 |1
is obsolete| |
Attachment #138840|0 |1
is obsolete| |
--- Comment #9 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 138905
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138905&action=edit
Bug 31306: Add search_ordered sub to order items with extra conditions
Commit message from JD:
On bug 27272 we are going to replace C4::Items::GetItemsInfo with Koha::Items
methods, but we need to keep the existing behaviour that is:
Order by publisheddate, enumchron for searisl, or by homebranch.branchname,
enumchron, LPAD( copynumber, 8, '0' ), desc dateaccessioned
Test plan:
Confirm that the code from the new method makes sense
Run t/db_dependent/Koha/Items.t
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list