Updated search pages to fix broken elements #845

Merged
merged 1 commit into from Apr 23, 2015

Projects

None yet

2 participants

@laf
Member
laf commented Apr 21, 2015

Fixes issue #842

Couple of things, the old way grabbed the data then processed the IP addresses to work out what was in the different subnets - not that it seems to have worked very well.

Using the bootgrid tables we can't do this as any post processing of data to be included breaks the way it works.

If you search for:

1.1.1.1 it will work
1.1.1.1/27 and the IP and prefix is 1.1.1.1/27 it will work
1.1.1.1/32 and the IP and prefix is 1.1.1.1/27 it won't work.

I think this is a good trade off as it stands. maybe we can do better querying directly in sql but for now this at least gets the search working.

@laf laf added the bug label Apr 21, 2015
@f0o f0o merged commit 821b686 into librenms:master Apr 23, 2015

1 check passed

Scrutinizer No new issues
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment