Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #2725] Add pagination to various cgi's (via GET params, cgi.cfg option, select box) #1015
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2725
Created by mfriedrich on 2012-06-26 12:25:29 +00:00
i've seen the code in the nagios 3.4.x tree, but i do not really like the implementation.
thing is - the event log already got some page limit, and i do think such a pagination could be enhanced in both places - status and logs.
this should be put into cgiutils.c and allow generalized pagination, probably reusable for all cgis having listings, if applicable.
furthermore, this probably requires some caching methods, allowing the page change to read from browser cache, rather than pulling a page refresh (?) if that would be a mature way?
2012-07-19 21:53:45 +00:00 by ricardo 613f7cd
2012-07-20 10:33:50 +00:00 by mfriedrich f8245d8
2012-08-25 13:22:26 +00:00 by mfriedrich 54b8eff
Updated by ricardo on 2012-07-19 22:06:22 +00:00
Please test this feature. in current "rbartels/cgi"
Updated by mfriedrich on 2012-07-20 10:44:42 +00:00
thank you very much!!!
tested the following:
looks fine to me - but you might ask gunnar or mzac for bigger tests :)