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

Jonathan Druart <jonathan.dru...@bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #72752|0                           |1
        is obsolete|                            |
  Attachment #72753|0                           |1
        is obsolete|                            |
  Attachment #72754|0                           |1
        is obsolete|                            |
  Attachment #72755|0                           |1
        is obsolete|                            |
  Attachment #72756|0                           |1
        is obsolete|                            |
  Attachment #72757|0                           |1
        is obsolete|                            |
  Attachment #72758|0                           |1
        is obsolete|                            |
  Attachment #72759|0                           |1
        is obsolete|                            |
  Attachment #72760|0                           |1
        is obsolete|                            |
  Attachment #72761|0                           |1
        is obsolete|                            |
  Attachment #72762|0                           |1
        is obsolete|                            |

--- Comment #35 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
Created attachment 73557
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73557&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