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

Benjamin Rokseth <benjamin.roks...@deichman.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #70351|0                           |1
        is obsolete|                            |

--- Comment #19 from Benjamin Rokseth <benjamin.roks...@deichman.no> ---
Created attachment 72752
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72752&action=edit
Bug 19935: Add Koha::Patron->pending_checkouts

To move this subroutine out of the C4 namespace we face the same
problematic as bug 17553 (with GetOverduesForPatron).
We need to provide an equivalent method and so return all the related
value for a given checkout.
We can acchieve the easily using Koha::Object->unblessed_all_relateds,
but we need to keep in mind that it is a temporary move.
Indeed we will want to use our API to only access/retrive values we really
need.
The whole trick could be removed when the current syntax for notices
will be deprecated and removed.

Note: this method returns the same number of elements than ->checkouts
They indeed returns the same things, but it sounds better to me to have a
different method to highlight (from the callers) where does it come
from (C4::Members::GetPendingIssues).

Signed-off-by: Benjamin Rokseth <benjamin.roks...@deichman.no>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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