mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
@@ -1336,8 +1336,7 @@ class Query
|
||||
unset($this->options['order'], $this->options['limit'], $this->options['page'], $this->options['field']);
|
||||
|
||||
$bind = $this->bind;
|
||||
$cache = !empty($config['total_cache']) ? $config['total_cache'] : false;
|
||||
$total = $this->cache($cache)->count();
|
||||
$total = $this->count();
|
||||
$results = $this->options($options)->bind($bind)->page($page, $listRows)->select();
|
||||
} elseif ($simple) {
|
||||
$results = $this->limit(($page - 1) * $listRows, $listRows + 1)->select();
|
||||
|
||||
Reference in New Issue
Block a user