[Koha-bugs] [Bug 31306] Add Koha::Items->search_ordered method
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 8 17:48:20 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31306
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #138806|0 |1
is obsolete| |
Attachment #138807|0 |1
is obsolete| |
Attachment #138808|0 |1
is obsolete| |
--- Comment #4 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 138838
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138838&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