Nagios Bug and Feature Tracker
Bug and Feature Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000345 [Nagios Core] Web Interface minor always 2012-06-07 14:04 2012-06-13 11:22
Reporter ericdives View Status public  
Assigned To mguthrie
Priority normal Resolution fixed  
Status resolved   Product Version
Summary 0000345: Wildcard searches break list paging
Description If you have a long list of similarly named devices, and search for the hostnames like:

blah-*

And the list is longer than 100 items, seeing anything past page 1 is (so far) impossible.
Additional Information
Tags No tags attached.
Nagios Version 3.4.1
OS CentOS
OS Version 5.8
Attached Files ? file icon nagios-3.4.1-status.patch [^] (730 bytes) 2012-06-07 16:37

- Relationships
has duplicate 0000337resolvedmguthrie Quick Scan problem in 3.4.1 

-  Notes
(0000476)
prandal (reporter)
2012-06-07 16:38

The problem is that "&navbarsearch=1&" isn't being preserved in the paginated URLs.

Tentative patch which seems to fix this attached.
(0000481)
prandal (reporter)
2012-06-11 08:44

My attached patch definitely fixes the issue and doesn't cause any side-effects elsewhere.

Can one of the devs check this (or an equivalent) patch in?
(0000482)
mguthrie (administrator)
2012-06-12 16:06

I'll run some tests on the patch and get it committed if there aren't any apparent side-effects. The other hot-fix that can be applied for users who need it without recompiling is to add the following to line 80 of side.php:

<input type='hidden' name='limit' value='0' />


which will suppress pagination for the search.
(0000485)
mguthrie (administrator)
2012-06-13 11:22

Patch applied in SVN for next release. Thanks!

- Issue History
Date Modified Username Field Change
2012-06-07 14:04 ericdives New Issue
2012-06-07 14:04 ericdives Nagios Version => 3.4.1
2012-06-07 14:04 ericdives OS => CentOS
2012-06-07 14:04 ericdives OS Version => 5.8
2012-06-07 16:37 prandal File Added: nagios-3.4.1-status.patch
2012-06-07 16:38 prandal Note Added: 0000476
2012-06-07 16:41 prandal Issue Monitored: prandal
2012-06-11 08:44 prandal Note Added: 0000481
2012-06-12 16:06 mguthrie Note Added: 0000482
2012-06-12 17:04 mguthrie Relationship added has duplicate 0000337
2012-06-13 11:22 mguthrie Note Added: 0000485
2012-06-13 11:22 mguthrie Status new => resolved
2012-06-13 11:22 mguthrie Resolution open => fixed
2012-06-13 11:22 mguthrie Assigned To => mguthrie


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker