projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Paginate-Controller-Helper: Paginaten innerhalb einer Action abstellen können
[kivitendo-erp.git]
/
SL
/
Controller
/
BackgroundJobHistory.pm
diff --git
a/SL/Controller/BackgroundJobHistory.pm
b/SL/Controller/BackgroundJobHistory.pm
index
ec9ebfe
..
5992dc0
100644
(file)
--- a/
SL/Controller/BackgroundJobHistory.pm
+++ b/
SL/Controller/BackgroundJobHistory.pm
@@
-5,6
+5,7
@@
use strict;
use parent qw(SL::Controller::Base);
use SL::Controller::Helper::GetModels;
use parent qw(SL::Controller::Base);
use SL::Controller::Helper::GetModels;
+use SL::Controller::Helper::Paginated;
use SL::Controller::Helper::Sorted;
use SL::DB::BackgroundJobHistory;
use SL::Helper::Flash;
use SL::Controller::Helper::Sorted;
use SL::DB::BackgroundJobHistory;
use SL::Helper::Flash;
@@
-20,6
+21,8
@@
__PACKAGE__->run_before('check_auth');
__PACKAGE__->run_before('add_stylesheet');
__PACKAGE__->run_before('check_task_server');
__PACKAGE__->run_before('add_stylesheet');
__PACKAGE__->run_before('check_task_server');
+__PACKAGE__->make_paginated(ONLY => [ qw(list) ]);
+
__PACKAGE__->make_sorted(
ONLY => [ qw(list) ],
__PACKAGE__->make_sorted(
ONLY => [ qw(list) ],