Removed distinct() from query as we limit by 1 anyway #2649

Merged
merged 1 commit into from Dec 20, 2015

Projects

None yet

2 participants

@laf
Member
laf commented Dec 19, 2015

This query appears when showing ones not using indexes. Removing the distinct() fixes this and as we have a limit 1 in place I don't see the need for it.

@laf laf Removed distinct() from query as we limit by 1 anyway
b8bc52c
@laf laf added the Bug label Dec 19, 2015
@f0o f0o merged commit 95cf466 into librenms:master Dec 20, 2015

1 of 2 checks passed

Auto-Deploy Build finished. No test results found.
Details
Scrutinizer No new issues
Details
@laf laf deleted the laf:alerts-distinct branch Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment