diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-05-31 15:31:14 +0400 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-05-31 15:31:14 +0400 |
commit | 1e11d3289f3961924280e5440d0ae15ad0e6ad00 (patch) | |
tree | e67cbf2d1f837dffeaaacdb98f7fa237a3312241 /plugins/Provider | |
parent | c37b3a8b5ab04df8b5602d1a63222c0ccf4d68ef (diff) |
- on a rainy sunday night, implented one of the most requested feature which was little work and should make a lot of users happy!
fixes #747
adding links on both sub tables for search engines and keywords linking directly to the search engine page for this keyword
added definition for the main search engines (approx 15) users can contribute more if they like; if a definition, eg. "search?q={k}" for Google is not found, then we simply link to the search engine homepage.
updated FAQ on how to add a search engine see http://piwik.org/faq/general/#faq_39
added tests to check that the search engine file is defined properly
- renamed queuefilter to queueFilter for consistency
Diffstat (limited to 'plugins/Provider')
-rw-r--r-- | plugins/Provider/API.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Provider/API.php b/plugins/Provider/API.php index 19b185c619..0e2c3f6dd9 100644 --- a/plugins/Provider/API.php +++ b/plugins/Provider/API.php @@ -34,9 +34,9 @@ class Piwik_Provider_API $archive = Piwik_Archive::build($idSite, $period, $date ); $dataTable = $archive->getDataTable('Provider_hostnameExt'); $dataTable->filter('Sort', array(Piwik_Archive::INDEX_NB_VISITS)); - $dataTable->queuefilter('ColumnCallbackAddMetadata', array('label', 'url', 'Piwik_getHostnameUrl')); - $dataTable->queuefilter('ColumnCallbackReplace', array('label', 'Piwik_getHostnameName')); - $dataTable->queuefilter('ReplaceColumnNames'); + $dataTable->queueFilter('ColumnCallbackAddMetadata', array('label', 'url', 'Piwik_getHostnameUrl')); + $dataTable->queueFilter('ColumnCallbackReplace', array('label', 'Piwik_getHostnameName')); + $dataTable->queueFilter('ReplaceColumnNames'); return $dataTable; } } |