summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-07 17:07:15 +0100
committerSimon Rettberg2017-12-07 17:07:15 +0100
commita535a3904dad7333ea77213af591bc2bf1aeaba3 (patch)
tree8835f9c68bc538cecce3d071a7c57e4a9ab99b00 /modules-available/locations/page.inc.php
parent[statistics] location filter: Support recursive matching by (ab)using ~ and !~ (diff)
downloadslx-admin-a535a3904dad7333ea77213af591bc2bf1aeaba3.tar.gz
slx-admin-a535a3904dad7333ea77213af591bc2bf1aeaba3.tar.xz
slx-admin-a535a3904dad7333ea77213af591bc2bf1aeaba3.zip
[locations] Redesign machine count column, make both counts clickable
Diffstat (limited to 'modules-available/locations/page.inc.php')
-rw-r--r--modules-available/locations/page.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/locations/page.inc.php b/modules-available/locations/page.inc.php
index 511757fe..0cfa5b90 100644
--- a/modules-available/locations/page.inc.php
+++ b/modules-available/locations/page.inc.php
@@ -377,6 +377,7 @@ class Page_Locations extends Page
unset($loc);
foreach ($locs as $loc) {
foreach ($loc['parents'] as $pid) {
+ $locs[(int)$pid]['hasChild'] = true;
$locs[(int)$pid]['clientCountSum'] += $loc['clientCount'];
}
}