diff --git a/app/services/filtering_service.rb b/app/services/filtering_service.rb
index f8adeb20ff7369c59d759187325caac04a2760a7..b339065890bc7c01f0863478afc59581655c8cd1 100644
--- a/app/services/filtering_service.rb
+++ b/app/services/filtering_service.rb
@@ -44,7 +44,11 @@ class FilteringService
     when 'created-by-me', 'authored' then
       current_user.send(table_name)
     when 'all' then
-      klass.of_projects(current_user.authorized_projects.pluck(:id))
+      if current_user
+        klass.of_projects(current_user.authorized_projects.pluck(:id))
+      else
+        klass.of_projects(Project.public_only)
+      end
     when 'assigned-to-me' then
       current_user.send("assigned_#{table_name}")
     else