@@ -73,8 +73,8 @@ |
||
73 | 73 | protected function updateOrderFieldOnDelete() |
74 | 74 | { |
75 | 75 | static::orderModel() |
76 | - ->where($this->getOrderField(), '>', $this->getOrderValue()) |
|
77 | - ->decrement($this->getOrderField()); |
|
76 | + ->where($this->getOrderField(), '>', $this->getOrderValue()) |
|
77 | + ->decrement($this->getOrderField()); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Class DisplayTable. |
15 | - |
|
16 | 15 | * @method Columns getColumns() |
17 | 16 | * @method $this setColumns(ColumnInterface|ColumnInterface[] $column) |
18 | 17 | * |
@@ -8,10 +8,10 @@ |
||
8 | 8 | <?php $active = null; ?> |
9 | 9 | @foreach ($items as $label => $_tmp) |
10 | 10 | <?php |
11 | - if (is_null($active)) { |
|
12 | - $active = $label; |
|
13 | - } |
|
14 | - ?> |
|
11 | + if (is_null($active)) { |
|
12 | + $active = $label; |
|
13 | + } |
|
14 | + ?> |
|
15 | 15 | <li role="presentation" {!! ($active == $label) ? 'class="active"' : '' !!}> |
16 | 16 | <a href="#{{ md5($label) }}" aria-controls="{{ md5($label) }}" role="tab" data-toggle="tab">{{ $label }}</a> |
17 | 17 | </li> |
@@ -106,9 +106,9 @@ |
||
106 | 106 | parent::initialize(); |
107 | 107 | |
108 | 108 | $repository = $this->getRepository() |
109 | - ->setParentField($this->getParentField()) |
|
110 | - ->setOrderField($this->getOrderField()) |
|
111 | - ->setRootParentId($this->getRootParentId()); |
|
109 | + ->setParentField($this->getParentField()) |
|
110 | + ->setOrderField($this->getOrderField()) |
|
111 | + ->setRootParentId($this->getRootParentId()); |
|
112 | 112 | |
113 | 113 | if (! is_null($this->treeType)) { |
114 | 114 | $repository->setTreeType($this->treeType); |