@@ -61,10 +61,10 @@ discard block |
||
61 | 61 | */ |
62 | 62 | public $lastPage; |
63 | 63 | |
64 | - /** |
|
65 | - * Reference to the page name for linking to posts. |
|
66 | - * @var string |
|
67 | - */ |
|
64 | + /** |
|
65 | + * Reference to the page name for linking to posts. |
|
66 | + * @var string |
|
67 | + */ |
|
68 | 68 | public $postPage; |
69 | 69 | |
70 | 70 | /** |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | ->orWhere('slug', $this->property('tag')) |
163 | 163 | ->with(['posts' => function($posts) { |
164 | 164 | $posts->skip($this->resultsPerPage * ($this->currentPage - 1)) |
165 | - ->take($this->resultsPerPage); |
|
165 | + ->take($this->resultsPerPage); |
|
166 | 166 | }]) |
167 | 167 | ->first(); |
168 | 168 |