Commit 352e7dce authored by Nico Schallehn's avatar Nico Schallehn

Suche müsste gehen

Filter angepasst
parent 2385f1aa
......@@ -71,10 +71,8 @@ class MediaDBViewerAPI{
}
if(isset($GET_arr['Suche'])){
$Suche = " `name` LIKE '%".$GET_arr['Suche']."%' OR
`year` = '".$GET_arr['Suche']."' OR
`md5` LIKE '%".$GET_arr['Suche']."%' OR
`resolution` LIKE '%".$GET_arr['Suche']."%' OR
`comment` LIKE '%".$GET_arr['Suche']."%'";
`comment` LIKE '%".$GET_arr['Suche']."%'"; //OR `year` = '".$GET_arr['Suche']."' OR `resolution` LIKE '%".$GET_arr['Suche']."%'
$Where .= (($first?"":" AND ").$Suche);
$first = false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment