Koha-clms/t/db_dependent/Koha
Jonathan Druart 98d0c990bf 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.rokseth@deichman.no>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-03 11:43:37 -03:00
..
Account Bug 12001: (QA follow-up) Add test for Koha::Account::Lines object 2018-02-23 10:57:30 -03:00
Acquisition Bug 20199: Add tests for Koha::Acq::Order->store 2018-02-26 13:24:43 -03:00
Filter Bug 19040: Refactor GetMarcBiblio parameters 2017-08-25 10:23:42 -03:00
Item Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Patron Bug 18403: Prevent Modifications.t to fail randomly 2018-02-16 10:49:45 -03:00
Patrons Bug 12598: Remove warnings from tests and make them pass 2018-02-16 14:05:18 -03:00
REST/Plugin Bug 19686: (follow-up) Add to_api param for completeness 2018-02-16 14:05:20 -03:00
SearchEngine Bug 19582: Unit tests 2018-03-27 17:50:38 -03:00
Authorities.t Bug 20144: [sql_modes] Set auth_header.marcxml to an empty string in tests 2018-02-13 13:58:51 -03:00
BiblioFrameworks.t
…
BiblioUtils.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Biblios.t Bug 20176: [sql_modes] Set biblio.datecreated to NOW if not defined 2018-02-16 13:03:58 -03:00
Checkouts.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Cities.t Bug 20144: [sql_modes] Shorten cities.city_zipcode 2018-02-13 13:58:51 -03:00
ClassSortRules.t Bug 19929: Add Koha objects for class sources and sorters 2018-03-23 11:45:38 -03:00
ClassSources.t Bug 19929: Add Koha objects for class sources and sorters 2018-03-23 11:45:38 -03:00
CsvProfiles.t Bug 20144: [sql_modes] Add default values for export_format columns 2018-02-13 13:58:51 -03:00
GetDailyQuote.t Bug 20144: [sql_modes] Correct quotes.timestamp values in tests 2018-02-13 13:58:51 -03:00
Holds.t Bug 19059: Remove CancelReserve - add new tests 2017-09-12 12:42:59 -03:00
IssuingRules.t Bug 19301: (QA follow-up) Add a few simple tests 2018-02-13 13:36:01 -03:00
ItemTypes.t Bug 12768: Fix tests - itemtypes.rentalcharge is now decimal(28,6) 2017-10-23 12:06:20 -03:00
Items.t Bug 20144: [sql_modes] Shorten items.barcode 2018-02-13 13:58:51 -03:00
Libraries.t Bug 16735: Migrate library search groups into the new hierarchical groups 2018-02-12 15:41:25 -03:00
MarcSubfieldStructures.t Bug 19096: Add update DB entry to sync kohafield in all frameworks 2017-12-11 11:34:08 -03:00
News.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Notices.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Object.t Bug 19926: Add tests for Koha::Object->unblessed_all_relateds 2018-04-03 11:43:06 -03:00
Objects.t Bug 19410: Move build_query_params_from_api into a helper 2017-12-11 17:46:59 -03:00
Patrons.t Bug 19935: Add Koha::Patron->pending_checkouts 2018-04-03 11:43:37 -03:00
Ratings.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Reports.t Bug 20052: (follow-up) Fix QA tool complaints and bad copy 2018-04-02 18:08:06 -03:00
Reviews.t Bug 18403: Patron reviews 2018-02-12 15:41:41 -03:00
SMS_Providers.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Subscription.t Bug 18785: Add the Koha::Subscription->biblio method 2017-10-09 16:15:50 -03:00
Suggestions.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00