Commit f352dd6
authored
Update CollectionDataTable.php
This change fix problem with non-existing variables/attributes during sorting by Collection engine.
There is no problem with displaying undefined values thanks this:
`->columnDefs([['defaultContent' => '-', 'targets' => '_all']])`
But when we try sort column we will get an error:
`Undefined index: resourcename.non_existing_attribute in C:\laragon\www\ptu\vendor\yajra\laravel-datatables-oracle\src\CollectionDataTable.php:298`1 parent 2d15fb2 commit f352dd6
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
0 commit comments