Fixing reference to search results query

Search results were not accessing 'q' correctly, which was nested within 'cropsearch'.

Accidentally pushed this to Farmbot, I'm not going to bother with rebasing. 
Yeah, I was noticing that searching for tomatoes returned all crops :(
On Aug 28, 2014 11:38 PM, "Rick Carlino" <notifications@github.com> wrote:

> In app/controllers/crop_searches_controller.rb:
>
> > @@ -1,8 +1,10 @@
> >  class CropSearchesController < ApplicationController
> >
> >    def search
> > -    @results = Crop.full_text_search(params[:q],{:max_results => 100})
> > -    #if the search came back with nothing, redirect to home and tell user
> > +    # Singularize a word to only search singulars.
> > +    search_word = params[:cropsearch][:q].singularize
> > +    @results = Crop.full_text_search(search_word,
>
> Our full_text_search library doesn't handle pluralization? That's so lame!
> Did you encounter this as a problem?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/FarmBot/OpenFarm/pull/108/files#r16869533>.
>