StatusPage icon indicating copy to clipboard operation
StatusPage copied to clipboard

Sorting the monitors by name or other values

Open d19dotca opened this issue 9 years ago • 4 comments

Hi there,

I just started using this and am really liking it. The one thing I can't figure out yet how to change is the order in which the various monitors are displayed. I'd prefer it to be alphabetical, for example - is that possible?

d19dotca avatar Mar 11 '15 07:03 d19dotca

Definitely doable, will be out probably later this week

nerdbaggy avatar Mar 16 '15 02:03 nerdbaggy

Any news on this? How can we select the sort method?

vicolalex avatar Mar 02 '16 16:03 vicolalex

I am also looking for this.

ssamjh avatar Jul 23 '16 04:07 ssamjh

To sort them change the old file with the new statusPage.php in /statuspage as in: https://github.com/nerdbaggy/StatusPage/issues/44

and add to line 127 following after all_time_uptime_ratio=1: &sort=1 - then it is sorted by a-z. More examples (reference):

  • 1 - friendly name (a-z)
  • 2 - friendly name (z-a)
  • 3 - status (up-down-paused)
  • 4 - status (down-up-paused)

davidus05 avatar Jul 02 '18 14:07 davidus05