Fusion: manage my views only shows 10 views

This support forum board is for questions relating to Nagios Fusion.
Locked
jenstar13
Posts: 174
Joined: Wed May 11, 2016 7:48 am

Fusion: manage my views only shows 10 views

Post by jenstar13 »

Hi, we have Fusion 4.1.3
in the manage my views section, it only shows 10 views but I have 11 on the my views screen, i wanted to add more but stopped because i want to be able to manage all the views
I included a picture below
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Fusion: manage my views only shows 10 views

Post by lmiltchev »

I was able to recreate the issue in house, and filed an internal bug report (task_id=13220). Our developers will be looking into it as soon as they can.

Thank you for reporting this!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Fusion: manage my views only shows 10 views

Post by cdienger »

The default of 10 is getting applied here for some reason. As a work around you can edit /usr/local/nagiosfusion/html/views/manage.php. Starting on line 58 you'll see:

Code: Select all

     58 $select_statement = "SELECT * FROM views WHERE user_id = $user_id";
     59     $opts = array(
     60         'default_pagination' => array(
     61             'orderby_column'    => 'view_order',
     62         ),
     63         'display_footer' => false,
Define a large limit like so:

Code: Select all

     58 $select_statement = "SELECT * FROM views WHERE user_id = $user_id";
     59     $opts = array(
     60         'default_pagination' => array(
     61             'orderby_column'    => 'view_order',
     62                 'limit' => '99',
     63         ),
     64         'display_footer' => false,
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jenstar13
Posts: 174
Joined: Wed May 11, 2016 7:48 am

Re: Fusion: manage my views only shows 10 views

Post by jenstar13 »

works perfectly, thank you very much!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Fusion: manage my views only shows 10 views

Post by lmiltchev »

I am glad your issue has been resolved! I am closing this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked