spree/spree — pull request #2089 by steveh (2012-10-16 02:03:56+00:00)
Title: Provide the Spree current user to the searcher class

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.