Paginaten für die BackgroundJob-Controller-List-View
[kivitendo-erp.git] / SL / Controller / BackgroundJob.pm
index dc97e18..f80f57a 100644 (file)
@@ -5,6 +5,7 @@ use strict;
 use parent qw(SL::Controller::Base);
 
 use SL::Controller::Helper::GetModels;
+use SL::Controller::Helper::Paginated;
 use SL::Controller::Helper::Sorted;
 use SL::DB::BackgroundJob;
 use SL::Helper::Flash;
@@ -20,6 +21,8 @@ __PACKAGE__->run_before('check_auth');
 __PACKAGE__->run_before('check_task_server');
 __PACKAGE__->run_before('load_background_job', only => [ qw(edit update destroy execute) ]);
 
+__PACKAGE__->make_paginated(ONLY => [ qw(list) ]);
+
 __PACKAGE__->make_sorted(
   ONLY         => [ qw(list) ],