فهرست منبع

fixed wfs url in p5:links - wfs GetFeature result

Piotr Labudda 7 سال پیش
والد
کامیت
8cd35ba267
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      SE/se-lib/AclQueryFeatures.php

+ 2 - 2
SE/se-lib/AclQueryFeatures.php

@@ -718,7 +718,7 @@ class AclQueryFeatures {
 							'@backRefPK' => $primaryKey,
 							'@startIndex' => $defaultRefLimit,
 							'@maxFeatures' => $defaultRefLimit,
-							'value' => Request::getScriptUri() . "?SERVICE=WFS&VERSION=1.0.0&TYPENAME={$fieldName}&REQUEST=GetFeature&backRefNS=".$this->_acl->getNamespace()."&backRefPK={$primaryKey}&backRefField={$fieldName}&maxFeatures={$defaultRefLimit}&startIndex={$defaultRefLimit}",
+							'value' => Request::getPathUri() . "wfs-data.php/" . "?SERVICE=WFS&VERSION=1.0.0&TYPENAME={$fieldName}&REQUEST=GetFeature&backRefNS=".$this->_acl->getNamespace()."&backRefPK={$primaryKey}&backRefField={$fieldName}&maxFeatures={$defaultRefLimit}&startIndex={$defaultRefLimit}",
 						],
 					] ];
 					DBG::log($row[$fieldName], 'array', "remote xlinks for \$items[{$primaryKey}][{$fieldName}]");
@@ -750,7 +750,7 @@ class AclQueryFeatures {
 							'@backRefPK' => $primaryKey,
 							'@startIndex' => $defaultRefLimit,
 							'@maxFeatures' => $defaultRefLimit,
-							'value' => Request::getScriptUri() . "?SERVICE=WFS&VERSION=1.0.0&TYPENAME={$fieldName}&REQUEST=GetFeature&backRefNS=".$this->_acl->getNamespace()."&backRefPK={$primaryKey}&backRefField={$fieldName}&maxFeatures={$defaultRefLimit}&startIndex={$defaultRefLimit}",
+							'value' => Request::getPathUri() . "wfs-data.php/" . "?SERVICE=WFS&VERSION=1.0.0&TYPENAME={$fieldName}&REQUEST=GetFeature&backRefNS=".$this->_acl->getNamespace()."&backRefPK={$primaryKey}&backRefField={$fieldName}&maxFeatures={$defaultRefLimit}&startIndex={$defaultRefLimit}",
 						],
 					] ];
 				}