Skip to content

Commit

Permalink
HUE-8676 [jb] Fix pagination with is_hue_4 flag off
Browse files Browse the repository at this point in the history
(cherry picked from commit 51df97c87c082c2160a3f9bc334a930d3f61a7b3)
  • Loading branch information
jdesjean committed Dec 14, 2018
1 parent fb3eb25 commit cc15921
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/jobbrowser/src/jobbrowser/templates/job_browser.mako
Expand Up @@ -2931,7 +2931,11 @@ ${ commonheader("Job Browser", "jobbrowser", user, request) | n,unicode }
});
self.paginationPage = ko.observable(1);
self.paginationOffset = ko.observable(1); // Starting index
%if conf.is_hue4():
self.paginationResultPage = ko.observable(100);
%else:
self.paginationResultPage = ko.observable(50);
%endif
self.pagination = ko.computed(function() {
return {
'page': self.paginationPage(),
Expand Down

0 comments on commit cc15921

Please sign in to comment.