Browse Source

+ ref counter in row functions (total field)

Piotr Labudda 7 years ago
parent
commit
db7c74ce2b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      SE/se-lib/Core/AclHelper.php

+ 2 - 0
SE/se-lib/Core/AclHelper.php

@@ -327,6 +327,7 @@ class Core_AclHelper {// Helper class for Acl
 					]),
 					'title' => "Powiązania od '{$backRefLabel}' ({$totalBackRefs})",
 					'label' => "Powiązania od '{$backRefShort}' <span class=\"badge\">{$totalBackRefs}</span>",
+					'total' => (int)$totalBackRefs,
 				];
 			}
 		}
@@ -364,6 +365,7 @@ class Core_AclHelper {// Helper class for Acl
 					]),
 					'title' => "Powiązania do '{$refLabel}' ({$totalRefs})",
 					'label' => "Powiązania do '{$refShortLabel}' <span class=\"badge\">{$totalRefs}</span>",
+					'total' => (int)$totalRefs,
 				];
 			}
 		}