Page 1 of 1
Fusion: manage my views only shows 10 views
Posted: Thu Apr 19, 2018 8:29 am
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
Re: Fusion: manage my views only shows 10 views
Posted: Thu Apr 19, 2018 1:47 pm
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!
Re: Fusion: manage my views only shows 10 views
Posted: Thu Apr 19, 2018 1:49 pm
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,
Re: Fusion: manage my views only shows 10 views
Posted: Fri Apr 20, 2018 4:55 am
by jenstar13
works perfectly, thank you very much!
Re: Fusion: manage my views only shows 10 views
Posted: Fri Apr 20, 2018 8:36 am
by lmiltchev
I am glad your issue has been resolved! I am closing this topic.