[Mapbender-commits] r9897 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Apr 13 03:13:47 PDT 2018


Author: armin11
Date: 2018-04-13 03:13:47 -0700 (Fri, 13 Apr 2018)
New Revision: 9897

Modified:
   trunk/mapbender/http/classes/class_metadata_new.php
Log:
Show wfs status and availability in catalogue search

Modified: trunk/mapbender/http/classes/class_metadata_new.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata_new.php	2018-04-13 10:02:23 UTC (rev 9896)
+++ trunk/mapbender/http/classes/class_metadata_new.php	2018-04-13 10:13:47 UTC (rev 9897)
@@ -431,8 +431,8 @@
 				$this->wfsJSON->wfs->srv[$i-$j]->hasConstraints = $hasConstraints;
 				$this->wfsJSON->wfs->srv[$i-$j]->symbolLink = $symbolLink;
 				//TODO check the field accessconstraints - which should be presented?
-				$this->wfsJSON->wfs->srv[$i-$j]->status = NULL; //$wfsMatrix[$i][''];
-				$this->wfsJSON->wfs->srv[$i-$j]->avail = NULL; //$wfsMatrix[$i][''];
+				$this->wfsJSON->wfs->srv[$i-$j]->status = $wfsMatrix[$i]['status'];
+				$this->wfsJSON->wfs->srv[$i-$j]->avail = $wfsMatrix[$i]['availability'];
 				$this->wfsJSON->wfs->srv[$i-$j]->logged = $wfsMatrix[$i]['wfs_proxylog']; //$wfsMatrix[$i][''];
 				$this->wfsJSON->wfs->srv[$i-$j]->price = $wfsMatrix[$i]['wfs_pricevolume']; //$wfsMatrix[$i][''];
 				$this->wfsJSON->wfs->srv[$i-$j]->nwaccess = $wfsMatrix[$i]['wfs_network_access']; //$wfsMatrix[$i][''];



More information about the Mapbender_commits mailing list