diff options
author | Kate Butler <kate@innocraft.com> | 2020-03-09 19:54:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 19:54:41 +0300 |
commit | c1ddd0c1673abd6f2ab07afd5a20ce0749c7e591 (patch) | |
tree | d48c9d5c9de3da8ea2f8048fe4f1c7fedd02e00d /plugins/Live/templates | |
parent | 65b1fcd4cf1ca12d0852d373071e7577e3dbdef4 (diff) |
Refactor search category/count to not use custom variables (#15286)
* Database migration
* Populate new columns
* Refactor Dimensions
* Remove CustomVariables SearchCategory dimension
* Update query in ActionsArchiver
* New implementation of archiving for Actions.getSiteSearchCategories
* Change search_count column to integer
* Remove check for CustomVariables plugin being enabled
* Remove references to search category/custom CV constants
* Prevent undefined offset error in DataArray when row is empty
* Update system tests
* remove unused method
* fix update script
* populate sitesearch category and count in visitor details
* ignore old site search variables in visitor details
* updates some exptected test files
* Show search categroy and count in action tooltip
* append category and count to action subtitle
* fix category archiving
* update tests
* Allow segmenting by search category and count
* update tests
* fix update
* fix tests
* keep old sitesearch vars as preserved custom variable
* updates expected UI files
* fix tests
* set segment name correctly
* apply review feedback
Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'plugins/Live/templates')
-rw-r--r-- | plugins/Live/templates/_actionTooltip.twig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/Live/templates/_actionTooltip.twig b/plugins/Live/templates/_actionTooltip.twig index b0e885a1ae..5b20add67e 100644 --- a/plugins/Live/templates/_actionTooltip.twig +++ b/plugins/Live/templates/_actionTooltip.twig @@ -5,4 +5,10 @@ {{ 'General_ColumnGenerationTime'|translate }}: {{ action.generationTime|raw }}{% endif %} {%- if action.timeSpentPretty is defined %} -{{ 'General_TimeOnPage'|translate }}: {{ action.timeSpentPretty|raw }}{% endif -%}
\ No newline at end of file +{{ 'General_TimeOnPage'|translate }}: {{ action.timeSpentPretty|raw }}{% endif %} +{%- if action.siteSearchCategory|default(false) %} + +{{ 'Actions_ColumnSearchCategory'|translate }}: {{ action.siteSearchCategory|rawSafeDecoded }}{% endif %} +{%- if action.siteSearchCount|default(false) %} + +{{ 'Actions_ColumnSearchResultsCount'|translate }}: {{ action.siteSearchCount|rawSafeDecoded }}{% endif %}
\ No newline at end of file |