mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
aha, ok thisd kind of works
This commit is contained in:
parent
b2c2097e8b
commit
cdda4a56d8
|
@ -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'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue