mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-04-21 23:42:10 +02:00
Properly list jobs of the import queue
This commit is contained in:
parent
7f3ec8d296
commit
6cc05c1cb5
@ -22,13 +22,8 @@ class ImportController extends Controller
|
||||
|
||||
public function queue(): View
|
||||
{
|
||||
$jobs = DB::table('jobs')
|
||||
->where('payload', 'LIKE', '%"displayName":' . json_encode(ImportLinkJob::class) . '%')
|
||||
->paginate(50);
|
||||
|
||||
$failedJobs = DB::table('failed_jobs')
|
||||
->where('payload', 'LIKE', '%"displayName":' . json_encode(ImportLinkJob::class) . '%')
|
||||
->paginate(50);
|
||||
$jobs = DB::table('jobs')->where('queue', 'import')->paginate(50);
|
||||
$failedJobs = DB::table('failed_jobs')->where('queue', 'import')->paginate(50);
|
||||
|
||||
return view('app.import.queue', [
|
||||
'pageTitle' => trans('import.import'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user