|
|
@@ -11,6 +11,7 @@ Lib::loadClass('ProcesHelper');
|
|
|
Lib::loadClass('Router');
|
|
|
Lib::loadClass('Route_UrlAction');
|
|
|
Lib::loadClass('Core_AclHelper');
|
|
|
+Lib::loadClass('AntAclBase');
|
|
|
|
|
|
// TODO: change all links: MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID={idZasob} to _route=ViewTableAjax&typeName=p5_default_db:{tableName}
|
|
|
|
|
|
@@ -5501,6 +5502,9 @@ jQuery(document).ready(function(){
|
|
|
}
|
|
|
DBG::log($jsonData->cols, 'array', "\$jsonData->cols");
|
|
|
$jsonData->rows = array();
|
|
|
+ if ($acl instanceof AntAclBase) {
|
|
|
+ $params['f_is_instance'] = $acl->getNamespace();
|
|
|
+ }
|
|
|
$queryFeatures = $acl->buildQuery($params);
|
|
|
$jsonData->total = $queryFeatures->getTotal();
|
|
|
$listItems = $queryFeatures->getItems();
|