app/services/katello/applicability/applicable_content_helper.rb in katello-4.0.3 vs app/services/katello/applicability/applicable_content_helper.rb in katello-4.1.0.rc1

- old
+ new

@@ -90,11 +90,10 @@ # Query for applicable RPM ids # -> Include all non-modular rpms or rpms that exist within installed module streams ::Katello::ModuleStream. joins("inner join katello_available_module_streams on katello_module_streams.name = katello_available_module_streams.name and - katello_module_streams.stream = katello_available_module_streams.stream and - katello_module_streams.context = katello_available_module_streams.context"). + katello_module_streams.stream = katello_available_module_streams.stream"). joins("inner join katello_host_available_module_streams on katello_available_module_streams.id = katello_host_available_module_streams.available_module_stream_id"). where("katello_host_available_module_streams.host_id = :content_facet_id and katello_host_available_module_streams.status = 'enabled'", :content_facet_id => self.content_facet.host.id).select(:id)