Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 56a53fd1defab4bf57dbf6dfaf3b5492e22883a4
https://github.com/tribe29/checkmk/commit/56a53fd1defab4bf57dbf6dfaf3b5492e…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
Changed paths:
M cmk/gui/command_utils.py
M cmk/gui/mobile.py
M cmk/gui/plugins/views/commands.py
M cmk/gui/plugins/views/crash_reporting.py
M cmk/gui/plugins/views/mkeventd.py
M cmk/gui/plugins/views/utils.py
Log Message:
-----------
Use action_rows instead of num_rows in commands
CMK-6405
This allows us to optimize several commands
that act on several selected object (e.g. event)
So instead of one command per selected object
we issue one command on a list of objects.
Besides num_rows was almost unused and easily
substituted by len(action_rows) where needed
Change-Id: I0eba8066ac2040493bfcfac1e1f6b499dcfadedc