Просмотр исходного кода

fixed relation filter in TableAjax: skip instances

Piotr Labudda 6 лет назад
Родитель
Сommit
4b97d9fc03
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      SE/se-lib/TableAjax.php

+ 1 - 1
SE/se-lib/TableAjax.php

@@ -2219,7 +2219,7 @@ jQuery(document).ready(function(){
 		DBG::log($jsonData->cols, 'array', "\$jsonData->cols");
 		DBG::log($jsonData->cols, 'array', "\$jsonData->cols");
 		$jsonData->rows = array();
 		$jsonData->rows = array();
 		if ($acl instanceof AntAclBase) {
 		if ($acl instanceof AntAclBase) {
-			$params['f_is_instance'] = $acl->getNamespace();
+			// $params['f_is_instance'] = $acl->getNamespace(); // check instances turned off @see: ACL::fetchBackRefs
 		}
 		}
 		$queryFeatures = $acl->buildQuery($params);
 		$queryFeatures = $acl->buildQuery($params);
 		$jsonData->total = ('1' === V::get('SKIP_TOTAL', '', $args)) ? -1 : $queryFeatures->getTotal();
 		$jsonData->total = ('1' === V::get('SKIP_TOTAL', '', $args)) ? -1 : $queryFeatures->getTotal();