Skip to content

Commit

Permalink
thusfar
Browse files Browse the repository at this point in the history
  • Loading branch information
bob committed Aug 31, 2023
1 parent 125401c commit 25c0f15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Nether/Database/Prototype.php
Expand Up @@ -523,7 +523,8 @@ static public function
'Debug' => FALSE,
'Filters' => NULL,
'Resolvers' => NULL,
'Remappers' => NULL
'Remappers' => NULL,
'CustomFilterFunc' => NULL
]);

$Opt->MergeRight($Input);
Expand Down Expand Up @@ -551,6 +552,9 @@ static public function
static::FindExtendTables($SQL, $Opt);
static::FindExtendFilters($SQL, $Opt);

if(is_callable($Opt['CustomFilterFunc']))
($Opt['CustomFilterFunc'])($SQL, $Opt);

// before checking if an extension class wants to add sorting
// we will supply the default implementations for sorting by this
// table primary key. it is optimal here as we have already asked
Expand Down

0 comments on commit 25c0f15

Please sign in to comment.