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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Aug 23 08:54:02 PDT 2017


Author: armin11
Date: 2017-08-23 08:54:02 -0700 (Wed, 23 Aug 2017)
New Revision: 9773

Modified:
   trunk/mapbender/http/classes/class_syncCkan.php
Log:
Alter max rows for one ckan package_search request to 1000

Modified: trunk/mapbender/http/classes/class_syncCkan.php
===================================================================
--- trunk/mapbender/http/classes/class_syncCkan.php	2017-08-23 15:40:52 UTC (rev 9772)
+++ trunk/mapbender/http/classes/class_syncCkan.php	2017-08-23 15:54:02 UTC (rev 9773)
@@ -430,6 +430,8 @@
                         //with org: http://localhost:5000/api/3/action/package_search?fq=transparency_category_de_rp:spatial_data%20AND%20owner_org:81476cf5-6c52-4e99-8b9f-6150d63fcb32
                         //TODO: define standard category filter in ckan.conf!
                         $queryObject->fq = STANDARD_CKAN_FILTER." AND owner_org:".$organization["ckan_uuid"];
+			//
+			$queryObject->rows = 1000;
 			//$queryObject->fq = "transparency_category_de_rp:spatial_data AND owner_org:".$organization["ckan_uuid"];
                         $queryObject->facet = "true";
                         $listOfFilteredData = $ckan->action_package_search(json_encode($queryObject));



More information about the Mapbender_commits mailing list