0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-08 14:40:05 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Pēteris Caune
8fb7d16864
Improve type hints, simplify pagination in Ping admin
Pagination, filtering, and result counting in Ping admin is tricky
as the pings table can contain millions of rows.

We previously used "select reltuples from pg_class" trick to
estimate the total number of rows. This only works on Postgres,
and does not handle WHERE filters.

This commit removes the search box, and changes the pagination
template to allow pagination between pages 1-9 and nothing more.
2023-10-04 16:00:41 +03:00