State summaries: Don't sort by default

Sorting the summaries (by host or service name) makes no sense and
even fails for PostgreSQL as it would require adding the column to
the GROUP BY clause.
This commit is contained in:
Eric Lippmann 2022-03-29 15:06:41 +02:00 committed by Johannes Meyer
parent 04410a866d
commit 802d222955
2 changed files with 10 additions and 0 deletions

View file

@ -66,4 +66,9 @@ class HoststateSummary extends Host
]
);
}
public function getDefaultSort()
{
return null;
}
}

View file

@ -71,4 +71,9 @@ class ServicestateSummary extends Service
]
);
}
public function getDefaultSort()
{
return null;
}
}