From c84cab61b73574ae451fe93a09057252bcb830e4 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 Signed-off-by: Lari Taskula Signed-off-by: Jonathan Druart --- Koha/REST/V1.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Koha/REST/V1.pm b/Koha/REST/V1.pm index abdf10ba5b..02934188df 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.39.5