Alert History not working

I can’t be sure when this started, but it is recent… Selecting Alerts → Alert History gives:

No results found!

If we select Export to PDF, the resulting PDF contains the correct data…
This is true for multiple browsers.

====================================

Component Version
LibreNMS 1.58.1-66-ga0e971659
DB Schema 2019_10_21_105350_devices_group_perms (149)
PHP 7.2.19-0ubuntu0.18.04.2
MySQL 10.1.41-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

====================================

[OK] Composer Version: 1.9.1
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

Hi @JohnSPeach
I can confirm this. Feel free to dig in and narrow down the issue if you have time, this period of the year is somehow busy. If not, somebody will pick this.
Thanx

@louis By chance, would you have a few minutes to have a look at this, and see if it could be a side effect of the recent AlertHistory updates ? Thanx

I am able to reproduce the issue.
I keep you updated

Broken down by this change

Fixed in

That fixes the problem for me.

Woopsie, by bad.

I also submitted a bit bigger patch; https://github.com/librenms/librenms/pull/10991

10991 also works…

Fixed in https://github.com/librenms/librenms/commit/17b3f84371f1b497c5bf95c5ae7b0d9a8306081e