--- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -12,6 +12,7 @@ + @@ -142,7 +143,12 @@ $(function() { CKAN.GA_Reports.bind_sparklines(); CKAN.GA_Reports.bind_sidebar(); - $(window).trigger('hashchange'); + if (!window.location.hash) { + window.location.hash='totals'; + } + else { + $(window).trigger('hashchange'); + } });