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
Right now, I use a query to display data into a table, so I dont have a model for it. How can I use sortable in this case?
$trainings = Training::sortable()->paginate(8);
$managers = DB::table('trainingdata') ->select('staffName','staff_id','trainer','programTitle','trainingDate','hours','reportingTo') ->where('staffName', $username) ->orWhere('reportingTo', $username) ->get(); $employees = Training::sortable() ->where('staffName', $username) ->paginate(8);
$managers is using a query, how do I solve this?
The text was updated successfully, but these errors were encountered:
sorry, are you want to use sortable and search together?
Sorry, something went wrong.
No branches or pull requests
Right now, I use a query to display data into a table, so I dont have a model for it. How can I use sortable in this case?
$trainings = Training::sortable()->paginate(8);
$managers is using a query, how do I solve this?
The text was updated successfully, but these errors were encountered: