subj.
Version | 1.46-87-gc2e52cf - Fri Dec 21 2018 18:24:37 GMT+0200 |
---|---|
DB Schema | #275 |
Web Server | nginx/1.10.3 |
PHP | 7.0.28-0ubuntu0.16.04.1 |
MySQL | 10.0.36-MariaDB-0ubuntu0.16.04.1 |
RRDtool | 1.5.5 |
subj.
Version | 1.46-87-gc2e52cf - Fri Dec 21 2018 18:24:37 GMT+0200 |
---|---|
DB Schema | #275 |
Web Server | nginx/1.10.3 |
PHP | 7.0.28-0ubuntu0.16.04.1 |
MySQL | 10.0.36-MariaDB-0ubuntu0.16.04.1 |
RRDtool | 1.5.5 |
Maybe a screenshoot of what you mean, or at least explaining it a bit…
Sorry
The availability map usually sorts per status which is enabled on the web IU settings.
Now even if it is enabled, it won’t sort per status, but randomly.
Thanks
Keep in mind sort by status only works with device down down and device up not warning yellow.
I know. so I have few disabled and down devices.
Previously I’d see first in the list disabled devices, then down devices and mix of green/yellow
Now it is not sorted at all
I’m pretty certain the list was always sorted by the default order (which is basically device_id).
I can always tell what a device is by where it is in the list.
Maybe there was option preveiously to show down first, i also saw down devices at the top before.
Do you use services a lot?
This code exists on the old map:
if ($config['webui']['availability_map_sort_status'] == 1) {
$deviceOrderBy = 'status';
$serviceOrderBy = '`S`.`service_status` DESC';
} else {
$deviceOrderBy = 'hostname';
$serviceOrderBy = '`D`.`hostname`';
}
But it doesn’t seem like there is anything like it on the new.
Is that something fixable?
1.47-44-g29f8a8d - still the same
It is already fixed in master.
Nevermind, I wrote the code but never PR’d it.
Thanks a lot!
Works!