Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Provide the Spree current user to the searcher class #2089
I needed to provide the current user from my application to Spree, in order to hide results that were not relevant for that users location.
I figured this might be a common use case so I've attached a patch to do just that.
By default, it will do nothing at all with this information, the idea is this could be hooked in by extending the searcher class.