Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #9167: Fix chained scopes when using scoped_search in API #4965

Merged
merged 1 commit into from
Feb 3, 2015

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Jan 29, 2015

Scoped search claims to support being applied to a set of scopes via
scopes.search_for. However, when multiple joins are used within the 'scopes'
the last join wins in the prior format. To combat this, we apply the
search_for first, which is itself a scope, and merge the scopes into
that result.

@ehelms
Copy link
Member Author

ehelms commented Jan 29, 2015

Opened an issue against scoped search -- wvanbergen/scoped_search#120

@jlsherrill jlsherrill changed the title Fixes #9167: Fix chainged scopes when using scoped_search in API Fixes #9167: Fix chained scopes when using scoped_search in API Jan 29, 2015
@ehelms
Copy link
Member Author

ehelms commented Jan 30, 2015

[test]

Scoped search claims to support being applied to a set of scopes via
scopes.search_for. However, when multiple joins are used within the 'scopes'
the last join wins in the prior format. To combat this, we apply the
search_for first, which is itself a scope, and merge the scopes into
that result.
@ehelms ehelms force-pushed the fixes-9167 branch 2 times, most recently from 19b3bda to 25dda4c Compare February 2, 2015 18:01
@jlsherrill
Copy link
Member

ACK

ehelms added a commit that referenced this pull request Feb 3, 2015
Fixes #9167: Fix chained scopes when using scoped_search in API
@ehelms ehelms merged commit d864975 into Katello:master Feb 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants