Parcourir la source

added primaryKey in object struct

Piotr Labudda il y a 8 ans
Parent
commit
00647e58c9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      SE/se-lib/Route/Storage/AclStruct.php

+ 1 - 0
SE/se-lib/Route/Storage/AclStruct.php

@@ -814,6 +814,7 @@ class Route_Storage_AclStruct extends RouteBase {
 			'__html_id' => 'struct_table',
 			'caption' => UI::h('span', [], [
 				UI::h('span', [ 'style' => "margin-right:6px;color:#000" ], "Struktura obiektu '{$item['namespace']}'"),
+				UI::h('code', [ 'style' => "margin-right:6px;color:#000" ], "(PrimaryKey: " . ($item['primaryKey'] ? $item['primaryKey'] : "Brak" ) . ")"),
 			]),
 			// 'sortBy' => [
 			// 	'method' => 'get',