mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
Refactor IP History
This commit is contained in:
@@ -101,10 +101,10 @@ class ApiQueryBuilder
|
||||
{
|
||||
$includeCounts = explode(',', $this->request->query(self::PARAM_NAME_INCLUDE_COUNTS, ''));
|
||||
$valid = array_intersect($this->allowedIncludeCounts, $includeCounts);
|
||||
do_log(sprintf(
|
||||
"includeCounts: %s, allow: %s, valid: %s",
|
||||
json_encode($includeCounts), json_encode($this->allowedIncludeCounts), json_encode($valid)
|
||||
));
|
||||
// do_log(sprintf(
|
||||
// "includeCounts: %s, allow: %s, valid: %s",
|
||||
// json_encode($includeCounts), json_encode($this->allowedIncludeCounts), json_encode($valid)
|
||||
// ));
|
||||
$this->query->withCount($valid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user