1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Add more filters in the search

This commit is contained in:
Daniel Neto 2023-04-17 14:19:27 -03:00
parent 85ae02c127
commit 97efaa96ca
6 changed files with 1959 additions and 1784 deletions

View file

@ -3,7 +3,8 @@ class BootGrid
{
public static function getSqlFromPost($searchFieldsNames = [], $keyPrefix = "", $alternativeOrderBy = "", $doNotSearch=false, $FIND_IN_SET = "")
{
if (empty($doNotSearch)) {
global $global;
if (empty($doNotSearch) && empty($global['doNotSearch']) ) {
$sql = self::getSqlSearchFromPost($searchFieldsNames);
} else {
$sql = '';