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

Fix issue with search controller #302

Closed
wants to merge 1 commit into from
Closed

Fix issue with search controller #302

wants to merge 1 commit into from

Conversation

ti0
Copy link

@ti0 ti0 commented Aug 10, 2020

An extra parameter is passed in the search method in one of the latest updates
https://github.com/discourse/discourse/blame/1972364d0f1b7907e726a8fce5a21a2d57f84b18/app/controllers/search_controller.rb#L132

I added a catch-all args to prevent it from getting busted by changes in the future. Tested and working.

@angusmcleod
Copy link
Collaborator

@ti0 Thanks! I merged @merefield's as the named parameter is actually used in the super class (which implicitly gets the argument of the subclass).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants