diff --git a/src/ColumnSortable/SortableLink.php b/src/ColumnSortable/SortableLink.php index 5c19504..986b0f2 100644 --- a/src/ColumnSortable/SortableLink.php +++ b/src/ColumnSortable/SortableLink.php @@ -267,6 +267,8 @@ private static function buildAnchorAttributesString($anchorAttributes) return ''; } + unset($anchorAttributes['href']); + $attributes = []; foreach ($anchorAttributes as $k => $v) { $attributes[] = $k.('' != $v ? '="'.$v.'"' : '');