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.
2 parents d1a8982 + de7b449 commit 4ba3479Copy full SHA for 4ba3479
src/DataTableComponent.php
@@ -49,6 +49,9 @@ public function boot(): void
49
'filters' => $this->{$this->tableName}['filters'] ?? [],
50
];
51
52
+ // Set the filter defaults based on the filter type
53
+ $this->setFilterDefaults();
54
+
55
// Set the user defined columns to work with
56
$this->setColumns();
57
@@ -59,9 +62,6 @@ public function boot(): void
59
62
if (! $this->hasPrimaryKey()) {
60
63
throw new DataTableConfigurationException('You must set a primary key using setPrimaryKey in the configure method.');
61
64
}
-
- // Set the filter defaults based on the filter type
- $this->setFilterDefaults();
65
66
67
/**
0 commit comments