From fe7137990b0693c6b045800750d879203fdc965d Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 23 Jul 2012 23:34:13 +0200 Subject: [PATCH] send place_rank in jsonv2 format --- lib/template/search-jsonv2.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/template/search-jsonv2.php b/lib/template/search-jsonv2.php index 095bfb79..89479dfb 100644 --- a/lib/template/search-jsonv2.php +++ b/lib/template/search-jsonv2.php @@ -36,6 +36,7 @@ $aPlace['lat'] = $aPointDetails['lat']; $aPlace['lon'] = $aPointDetails['lon']; $aPlace['display_name'] = $aPointDetails['name']; + $aPlace['place_rank'] = $aResult['rank_search']; $aPlace['category'] = $aPointDetails['class']; $aPlace['type'] = $aPointDetails['type']; -- 2.39.5