We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
id
I've a model, Customer
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Customer extends Model { protected $table = 'customer'; protected $primaryKey = 'id_customer'; }
and i've this error: If i change to key (in the database) to id it's working !
I'm issing something ?
Thanks
The text was updated successfully, but these errors were encountered:
@PrestaSafe You can easy fix this by adding public $sort_attribute = 'id_customer'; to your table component.
public $sort_attribute = 'id_customer';
Sorry, something went wrong.
No branches or pull requests
I've a model, Customer
and i've this error:

If i change to key (in the database) to
id
it's working !I'm issing something ?
Thanks
The text was updated successfully, but these errors were encountered: