spotweb/spotweb — pull request #1775 by floorish (2013-03-02 12:49:29+00:00)
Title: Fix searching for movie with release date, #1767

I'm not really known with the inner workings of the query builder, but due to quotes around the movieReleaseDate faulty queries were generated.

Before:
**SearchValue** Titel:=:+"Some Movie Title" "+(2012)"
**Query** s.title LIKE '%Some Movie Title\" +\"(2012)%'

After:
**SearchValue** Titel:=:+"Some Movie Title" +(2012)
**Query** s.title LIKE '%The Perks of Being a Wallflower%' AND s.title LIKE '%2012%'

This fixes zero results for CouchPotato api queries