We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10efb8b commit b068d32Copy full SHA for b068d32
1 file changed
lib/facets.rb
@@ -9,7 +9,7 @@ module Facets
9
start: ->(c) { c.name == 'Event' },
10
running_during: ->(c) { c.name == 'Event' },
11
include_hidden: ->(c) { c.method_defined?(:user_requires_approval?) },
12
- across_all_spaces: ->(c) { TeSS::Config.feature['spaces'] && c.method_defined?(:space_id) }
+ across_all_spaces: ->(c) { TeSS::Config.feature['spaces'] && c.reflect_on_association(:space) }
13
}.with_indifferent_access.freeze
14
15
CONVERSIONS = {
0 commit comments