From fdacae80c450f30d77e0d06a33d64c6e9e7fc96d 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). --- 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.14.1