laravel4-datatables-package icon indicating copy to clipboard operation
laravel4-datatables-package copied to clipboard

[Bug] Unaliased ordered columns are conflicting

Open antonioribeiro opened this issue 10 years ago • 0 comments

In ordering(), you could never do

$columns = $this->cleanColumns($this->aliased_ordered_columns);

Because you can cause a ordered column (like id) to conflict with joined tables. So if we are using a some database like SQLite, which is not able to guess the column to be ordered, we'll get a

Error: ambiguous column name: id

antonioribeiro avatar Mar 04 '15 23:03 antonioribeiro