Fix minore filtro tabelle
This commit is contained in:
parent
a871ae89b5
commit
1e2eefb701
|
@ -232,10 +232,8 @@ class Query
|
|||
if ($data != "'1970-01-01'") {
|
||||
$search_filters[] = 'date('.$search_query.') = '.$data.'';
|
||||
}
|
||||
} elseif ($equal) {
|
||||
$search_filters[] = ($search_query.' = '.prepare($value));
|
||||
} else {
|
||||
$search_filters[] = ($search_query.' = '.prepare($value).' OR '.$search_query.' LIKE '.prepare('% '.$value).' OR '.$search_query.' LIKE '.prepare($value.' %').' OR '.$search_query.' LIKE '.prepare('% '.$value.' %'));
|
||||
$search_filters[] = ($search_query.' = '.prepare($value));
|
||||
}
|
||||
} elseif ($notequal) {
|
||||
$value = trim(str_replace(['!='], '', $value));
|
||||
|
|
Loading…
Reference in New Issue