Module: check_mk
Branch: master
Commit: b1e260cdbe1cfbed001c1ccd2f6212d45d7a85aa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b1e260cdbe1cfb…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Oct 26 11:41:36 2017 +0200
Unified HostListColumn implementations, deriving from ListColumn now.
Apart from being much simpler, this does two things:
* It makes our list filtering machinery available for those columns.
* It fixes a bug: The filter didn't take the AuthUser into account.
Change-Id: I77650760e69b4ae259a07fd1a6b605244492c5d0
---
livestatus/src/HostListColumn.cc | 83 +++++++++++++++++++++--------
livestatus/src/HostListColumn.h | 39 +++++++-------
livestatus/src/HostListFilter.cc | 110 ---------------------------------------
livestatus/src/HostListFilter.h | 51 ------------------
livestatus/src/Makefile.am | 1 -
5 files changed, 82 insertions(+), 202 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=b1e260cdbe…