aha, ok thisd kind of works
This commit is contained in:
@@ -233,12 +233,12 @@ class BulkAssetsController extends Controller
|
||||
if(!empty($error_bag)) {
|
||||
$ids = array_values($assets);
|
||||
// dd($ids);
|
||||
return redirect()->back()
|
||||
->withInput(["ids" => $ids, "bulk_actions" => "edit"])
|
||||
->withErrors($error_bag);
|
||||
// return redirect()->back()
|
||||
// ->withInput(["ids" => $ids, "bulk_actions" => "edit"])
|
||||
// ->with('error_messages', $error_bag);
|
||||
// return $error_bag;
|
||||
|
||||
// return redirect($bulk_back_url)->withErrors($error_bag);
|
||||
return redirect($bulk_back_url)->with('error_messages', $error_bag);
|
||||
}
|
||||
return redirect($bulk_back_url)->with('success', trans('admin/hardware/message.update.success'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user