Commit 31ec0e47 authored by Francesco Iannuzzelli's avatar Francesco Iannuzzelli

Event indexer

parent 3e3d1fd9
......@@ -92,6 +92,7 @@ class PageTypes
INNER JOIN page_features pf ON f.id_feature=pf.id_feature
WHERE $id_function";
$db->QueryExe($rows, $sqlstr);
return $rows;
}
public function FeatureDelete($id_feature,$id_style,$id_type)
......
......@@ -716,7 +716,13 @@ class Search
$id_language = $t->id_language;
$title = $event['title'];
$content = $event['type'] . SEPARATOR . $event['description'];
$notes = $event['place'];
$notes = $event['place'] . SEPARATOR . $event['place_details'] . SEPARATOR . $event['address'];
if($event['id_geo']>0) {
include_once(SERVER_ROOT."/../classes/geo.php");
$g = new Geo();
$geo = $g->GeoGet($event['id_geo'], 0);
$notes .= SEPARATOR . $geo;
}
if($event['id_article']>0)
{
$o->GetKeywords($event['id_article'],$o->types['article'],$keywords);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment