Module: check_mk
Branch: master
Commit: 9c0b18eae72619a2abcdd5680963be847d556c88
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9c0b18eae72619…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Mar 2 10:56:39 2017 +0100
4452 Multisite Quicksearch: Now able to configure quicksearch filters in the global
settings
You can now specifiy which quicksearch filters should be automatically traversed
whenever a text is entered in the quicksearch field. The default behaviour is
<ul>
<li>h: Hostname</li>
<li>al: Hostalias</li>
<li>ad: Hostaddress</li>
<li>s: Service description</li>
</ul
Results for each filter are now shown in separate topics, when there are matches
for multiple filters. You can also enable filters which are currently not used
in the default search
<ul>
<li>tg: Hosttag</li>
<li>hg: Hostgroup</li>
<li>sg: Servicegroup</li>
</ul
Additionally, you can modify the matching behaviour for a specific filter.
When a match is found you can continue the search, abort the search and show all results
or abort the search and show only the results for the current filter.
Change-Id: I7bb8594bba173ae96eabc20e8cb1998439f74183
---
.werks/4452 | 30 +++
web/htdocs/sidebar.py | 322 ++++++++++++++++++-----------
web/plugins/config/builtin.py | 3 +
web/plugins/sidebar/search.py | 33 +++
web/plugins/wato/check_mk_configuration.py | 33 +++
5 files changed, 305 insertions(+), 116 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=9c0b18eae7…