Skip to content

Commit c4cc2ed

Browse files
committed
Merge branch 'fix-spaces-faceting-dev'
2 parents 30836ec + b068d32 commit c4cc2ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/facets.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Facets
99
start: ->(c) { c.name == 'Event' },
1010
running_during: ->(c) { c.name == 'Event' },
1111
include_hidden: ->(c) { c.method_defined?(:user_requires_approval?) },
12-
across_all_spaces: ->(c) { TeSS::Config.feature['spaces'] && c.method_defined?(:space_id) }
12+
across_all_spaces: ->(c) { TeSS::Config.feature['spaces'] && c.reflect_on_association(:space) }
1313
}.with_indifferent_access.freeze
1414

1515
CONVERSIONS = {

0 commit comments

Comments
 (0)