Add a way to search for any committee contributors

This is working pretty well except for a formatting problem on the home page.  For some reason the search boxes appear below the section divider rather than above it.  I must be missing some sort of html magic.
Nothing!  I had changed that to ‘_’ which is match any single character… .wonder what happened to that change.
On Sep 6, 2014, at 1:55 PM, Tom Dooner <notifications@github.com> wrote:

> In app.rb:
> 
> > @@ -68,6 +68,25 @@ class << self
> >        .includes(:contributor, :recipient).order(:date).reverse_order.to_json(fields)
> >    end
> >  
> > +  get '/api/committeeName/:name' do |name|
> > +    cache_control :public
> > +    last_modified Import.last.import_time
> > +
> > +    headers 'Content-Type' => 'application/json'
> > +
> > +    fields = {
> > +      include: [
> > +        { recipient: { methods: :short_name } },
> > +        { contributor: { methods: :short_name } },
> > +      ],
> > +    }
> > +    search 	  = "%" + CGI.unescape(name).downcase.gsub(/-/, '?') + "%"
> What is the '?' for in the SQL query?
> 
> —
> Reply to this email directly or view it on GitHub.
>