Put the town in the list of propal

I do the PULL request, but I think there's something wrong:
isn't the 
+if ($search_ville) //restriction
+{
+  $sql.= " AND s.town LIKE '%".$db->escape(trim($search_ville))."%'";
+} 

supposed to be related to town filtering (form at the top of the list) ? In this case, there's something wrong, because I don't see an <input> in the filter line.

Lalaina, please fix or explain, thanks