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

956854 - fixing errors in logs on content search #2199

Merged
merged 2 commits into from May 9, 2013

Conversation

jlsherrill
Copy link
Member

When performing a search with an empty repoids list, search server would error (doesn't like empty lists). So now we can just catch them before it gets to the search server.


repoids = filters[:repoids]
if !Tire.index(self.index).exists? || (repoids && repoids.empty?)
return Util::Support.array_with_total
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, after 👾 is gone.

@jlsherrill
Copy link
Member Author

weird, not sure where that came from. fixed.

jlsherrill added a commit that referenced this pull request May 9, 2013
956854 - fixing errors in logs on content search
@jlsherrill jlsherrill merged commit 46edf29 into Katello:master May 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants