|
|
@@ -28,7 +28,6 @@ class AntAclBase extends Core_AclBase {
|
|
|
public function getPrimaryKeyField() { return $this->_primaryKey; }
|
|
|
public function getFieldListByIdZasob() { return $this->getRealFieldListByIdZasob(); }
|
|
|
public function getVirtualFieldListByIdZasob() { return []; }
|
|
|
- // public function getVisibleFieldListByIdZasob() { return $this->getRealFieldListByIdZasob(); } // TODO: get visible fields
|
|
|
|
|
|
public function _fetchInfoFromZasobyIfNeeded() {
|
|
|
if (!$this->_zasobyInfoFetched) {
|
|
|
@@ -97,7 +96,7 @@ class AntAclBase extends Core_AclBase {
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- $cols[$id] = 'ID'; // TODO: why rename primary key field to ID?
|
|
|
+ $cols[$id] = $pkField; // 'ID'; // TODO: why rename primary key field to ID? check JS
|
|
|
foreach ($fields as $kFieldID => $fieldName) {
|
|
|
if ($pkField === $fieldName) continue;
|
|
|
$cols[$kFieldID] = $fieldName;
|