|
|
@ -63,7 +63,7 @@ class LinkSorter extends Widget |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected function renderSortLinks() |
|
|
|
protected function renderSortLinks() |
|
|
|
{ |
|
|
|
{ |
|
|
|
$attributes = empty($this->atttributes) ? array_keys($this->sort->attributes) : $this->attributes; |
|
|
|
$attributes = empty($this->attributes) ? array_keys($this->sort->attributes) : $this->attributes; |
|
|
|
$links = []; |
|
|
|
$links = []; |
|
|
|
foreach ($attributes as $name) { |
|
|
|
foreach ($attributes as $name) { |
|
|
|
$links[] = $this->sort->link($name); |
|
|
|
$links[] = $this->sort->link($name); |
|
|
|