We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f3d3e3 commit 5e47936Copy full SHA for 5e47936
src/app/Library/CrudPanel/CrudColumn.php
@@ -81,11 +81,13 @@ public function key(string $key)
81
82
$columns = $this->crud()->columns();
83
$searchKey = $this->attributes['key'];
84
+ $column = $this->attributes;
85
86
if (isset($columns[$searchKey])) {
87
unset($columns[$searchKey]);
88
$column['key'] = $key;
89
}
90
+
91
$this->attributes = $column;
92
$this->setOperationSetting('columns', array_merge($columns, [$key => $column]));
93
0 commit comments