[Mapbender-commits] r4523 - in branches/mifan_dev/mapbender/http:
classes php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Aug 13 18:37:39 EDT 2009
Author: mifan
Date: 2009-08-13 18:37:39 -0400 (Thu, 13 Aug 2009)
New Revision: 4523
Modified:
branches/mifan_dev/mapbender/http/classes/class_cswrecord.php
branches/mifan_dev/mapbender/http/php/mod_searchCatQueryBuilder_server.php
Log:
simple search
Modified: branches/mifan_dev/mapbender/http/classes/class_cswrecord.php
===================================================================
--- branches/mifan_dev/mapbender/http/classes/class_cswrecord.php 2009-08-13 22:36:53 UTC (rev 4522)
+++ branches/mifan_dev/mapbender/http/classes/class_cswrecord.php 2009-08-13 22:37:39 UTC (rev 4523)
@@ -141,7 +141,7 @@
}
//Abstract
- if((mb_strtoupper($element[tag]) == "DC:ABSTRACT" OR mb_strtoupper($element[tag]) == "ABSTRACT")){
+ if((mb_strtoupper($element[tag]) == "DC:ABSTRACT" OR mb_strtoupper($element[tag]) == "ABSTRACT" OR mb_strtoupper($element[tag]) == "DCT:ABSTRACT")){
$summaryObj->abstract = $element[value];
}
Modified: branches/mifan_dev/mapbender/http/php/mod_searchCatQueryBuilder_server.php
===================================================================
--- branches/mifan_dev/mapbender/http/php/mod_searchCatQueryBuilder_server.php 2009-08-13 22:36:53 UTC (rev 4522)
+++ branches/mifan_dev/mapbender/http/php/mod_searchCatQueryBuilder_server.php 2009-08-13 22:37:39 UTC (rev 4523)
@@ -35,7 +35,7 @@
* show responses with cat-name in results
*/
-$DEBUG_ = true;
+$DEBUG_ = false;
//Init Variables
$userId = $_SESSION["mb_user_id"];
@@ -96,8 +96,8 @@
foreach ($RecordObj->SummaryRecordsArray as $SummaryRecordObj){
$title = $SummaryRecordObj->getTitle();
$abstract = $SummaryRecordObj->getAbstract();
- if($DEBUG_)
- array_push($resultObj['cats'],array("id"=>$catalog_id,"title"=>$title));
+
+ array_push($resultObj['cats'],array("title"=>$title,"abstractt"=>$abstract));
}
}
More information about the Mapbender_commits
mailing list