diff --git a/app/views/hyrax/base/_show_actions.html.erb b/app/views/hyrax/base/_show_actions.html.erb index b17b2d26fb..c432773dde 100644 --- a/app/views/hyrax/base/_show_actions.html.erb +++ b/app/views/hyrax/base/_show_actions.html.erb @@ -16,7 +16,9 @@ class: presenter.display_unfeature_link? ? 'btn btn-default' : 'btn btn-default collapse' %> <% end %> <% if Hyrax.config.analytics? %> - <%= link_to t('.analytics'), presenter.stats_path, id: 'stats', class: 'btn btn-default' %> + <% # turbolinks needs to be turned off or the page will use the cache and the %> + <% # analytics graph will not show unless the page is refreshed. %> + <%= link_to t('.analytics'), presenter.stats_path, id: 'stats', class: 'btn btn-default', data: { turbolinks: false } %> <% end %> diff --git a/app/views/hyrax/file_sets/_show_actions.html.erb b/app/views/hyrax/file_sets/_show_actions.html.erb index d4fbf3b6d7..c38443b8e2 100644 --- a/app/views/hyrax/file_sets/_show_actions.html.erb +++ b/app/views/hyrax/file_sets/_show_actions.html.erb @@ -1,6 +1,8 @@