@@ -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 |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Backend\Behaviors\FormController; |
11 | 11 | use Backend\Behaviors\ListController; |
12 | 12 | use October\Rain\Exception\SystemException; |
13 | -use October\Rain\Flash\FlashBag; |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * Class Tags |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace GinoPane\BlogTaxonomy\Components; |
4 | 4 | |
5 | -use DB; |
|
6 | 5 | use Cms\Classes\Page; |
7 | 6 | use Cms\Classes\ComponentBase; |
8 | 7 | use GinoPane\BlogTaxonomy\Plugin; |