Skip to content

Commit

Permalink
Refs matomo-org#3089, sort site search keywords in reverse order in v…
Browse files Browse the repository at this point in the history
…isitor profile.
  • Loading branch information
diosmosis committed Oct 11, 2013
1 parent c5559ff commit e2de34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Live/API.php
Expand Up @@ -276,7 +276,7 @@ public function getVisitorProfile($idSite, $visitorId = false, $segment = false,
// sort countries/continents/search keywords by visit/action
asort($countries);
asort($continents);
asort($siteSearchKeywords);
arsort($siteSearchKeywords);

// transform country/continents/search keywords into something that will look good in XML
$result['countries'] = $result['continents'] = $result['searches'] = array();
Expand Down

0 comments on commit e2de34f

Please sign in to comment.