From 7de02bf287b53abb30c3bb630d82034e206f11dc Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 29 Aug 2017 17:02:13 -0300 Subject: [PATCH] Bug 19196: Make plugin available to endpoints This patch just initializes the plugin on the main controller class so it is available for all endpoints to use. As it is not used, in order to test just restart plack and make sure the endpoints work (run the t/db_dependent/api/v1 tests). Signed-off-by: Kyle M Hall --- Koha/REST/V1.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/REST/V1.pm b/Koha/REST/V1.pm index abdf10b..0293418 100644 --- a/Koha/REST/V1.pm +++ b/Koha/REST/V1.pm @@ -53,6 +53,7 @@ sub startup { # Paths-, Parameters-, Definitions- & Info-object # is not allowed by the OpenAPI specification. }); + $self->plugin( 'Koha::REST::Plugin::Pagination' ); } 1; -- 2.10.2