@@ -88,9 +88,9 @@ |
||
88 | 88 | protected function prepareQuery() |
89 | 89 | { |
90 | 90 | if (!$this->prepared) { |
91 | - if($this->totalRecords===null) |
|
91 | + if ($this->totalRecords === null) |
|
92 | 92 | $this->totalRecords = $this->totalCount(); |
93 | - if ($this->totalRecords!==null) { |
|
93 | + if ($this->totalRecords !== null) { |
|
94 | 94 | $this->filterRecords(); |
95 | 95 | $this->ordering(); |
96 | 96 | $this->paginate(); |
@@ -88,8 +88,9 @@ |
||
88 | 88 | protected function prepareQuery() |
89 | 89 | { |
90 | 90 | if (!$this->prepared) { |
91 | - if($this->totalRecords===null) |
|
92 | - $this->totalRecords = $this->totalCount(); |
|
91 | + if($this->totalRecords===null) { |
|
92 | + $this->totalRecords = $this->totalCount(); |
|
93 | + } |
|
93 | 94 | if ($this->totalRecords!==null) { |
94 | 95 | $this->filterRecords(); |
95 | 96 | $this->ordering(); |