Page 1 of 1

Pagination issues in CCM services

Posted: Mon Jun 10, 2013 5:03 am
by Brian_M
Hello Gentlemen,

Is there a way to truncate the pagination controls in the CCM? When I first enter the CCM services, I have to scroll down to the bottom to get to the search query (see provided example below) due to every page of services showing up on the initial page. Our new laptops come with the utterly useless 1600x900 screens so we have little vertical real estate and find ourselves scrolling much more these days.

Xi 2012R2.1

Thanks,
Brian

Re: Pagination issues in CCM services

Posted: Mon Jun 10, 2013 10:39 am
by abrist
The page numbers should be listed at the top and bottom of the ccm page. Until we work out a better pagination solution, you can disable the top pagination links by changing the file:

Code: Select all

/usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php
Edit Line # 113 From:

Code: Select all

<div id='pagenumbersDiv'>$pagenumbers</div> <!-- pagenumbers div -->
To:

Code: Select all

<!--<div id='pagenumbersDiv'>$pagenumbers</div> <!-- pagenumbers div -->
It is just a work around though. Make a note that this change will most likely not persist through upgrade and will have to be reapplied after the fact.

Re: Pagination issues in CCM services

Posted: Tue Jun 11, 2013 4:30 am
by Brian_M
Thanks for the quick response, please mark as resolved :-)