Search modified

Made the changes in 'Search' according to the changes in models. You can merge this.  
I understand this in not part of your commit, but it can be. 
there should be a space before and after "=" . You don't need to do it, just telling you to catch such things in future.