[Koha-bugs] [Bug 29083] Update article requests-related Koha::Patron methods to use relationships
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 6 19:04:57 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29083
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #125838|0 |1
is obsolete| |
--- Comment #32 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 125840
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125840&action=edit
Bug 29083: Remove article_requests_finished and article_requests_current
This patch removes those methods that are not really needed. Templates
are adjusted to use the expected combination of
->article_requests->filter_by_current.
To test:
1. Apply this patch
2. Visit a patron with article requests
=> SUCCESS: All works
3. Run:
$ kshell
k$ prove t/db_dependent/Koha/Patron.t
=> SUCCESS: Tests pass, less tests.
4. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list