From 80fc27d50135e125bb4242de97bb39f0627e9fb1 Mon Sep 17 00:00:00 2001 From: Syphax Date: Fri, 13 Dec 2024 00:36:03 +0100 Subject: [PATCH] fix visits page showing an empty table --- app/views/visits/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/visits/index.html.haml b/app/views/visits/index.html.haml index 1cfc2e5a7..b777d8bef 100644 --- a/app/views/visits/index.html.haml +++ b/app/views/visits/index.html.haml @@ -14,7 +14,7 @@ %tbody - count = 0 - @analytics.onts.each do |visits| - - ont = @ontologies_hash[visits[:ont].to_s] + - ont = @ontologies_hash[visits[:ont].to_s.split('/').last] - next if ont.nil? - count += 1 %tr