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
if i've a model with softDelete enabled, the query not skipts this items automatically.
https://codeigniter.com/user_guide/models/model.html#usesoftdeletes
The text was updated successfully, but these errors were encountered:
i dont know this is correct answer or not. but i change of code on construction function inside Datatables.php like this
public function __construct($builder) { if (is_subclass_of($builder, '\CodeIgniter\BaseModel') && method_exists($builder, 'builder')) { if ($builder->tempUseSoftDeletes) { $builder->where($builder->table . '.' . $builder->deletedField, null); } $builder = $builder->builder(); } $this->query = new DataTableQuery($builder); $this->columnDefs = new DataTableColumnDefs($builder); }
Sorry, something went wrong.
No branches or pull requests
if i've a model with softDelete enabled, the query not skipts this items automatically.
https://codeigniter.com/user_guide/models/model.html#usesoftdeletes
The text was updated successfully, but these errors were encountered: