We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fee7059 commit 66e4847Copy full SHA for 66e4847
1 file changed
src/DataTableColumnDefs.php
@@ -273,7 +273,10 @@ public function initFromBuilder($builder)
273
274
$alias = ! empty($selectParsed['alias']) ? end($selectParsed['alias']['no_quotes']['parts']) : end($selectParsed['no_quotes']['parts']);
275
276
- $key = $selectParsed['no_quotes']['parts'][0];
+ $key = count($selectParsed['no_quotes']['parts']) == 2 ?
277
+ $selectParsed['no_quotes']['parts'][0].'.'.$selectParsed['no_quotes']['parts'][1] :
278
+ $selectParsed['no_quotes']['parts'][0];
279
+
280
$alias = $alias;
281
282
}
0 commit comments