the command was missing from the worker queue overview
This commit is contained in:
parent
35ad732e71
commit
f57ddee31c
3 changed files with 6 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Queue extends BaseAdmin
|
||||||
}
|
}
|
||||||
|
|
||||||
// @TODO Move to Model\WorkerQueue::getEntries()
|
// @TODO Move to Model\WorkerQueue::getEntries()
|
||||||
$entries = DBA::select('workerqueue', ['id', 'parameter', 'created', 'priority'], $condition, ['limit' => 999, 'order' => ['created']]);
|
$entries = DBA::select('workerqueue', ['id', 'parameter', 'created', 'priority', 'command'], $condition, ['limit' => 999, 'order' => ['created']]);
|
||||||
|
|
||||||
$r = [];
|
$r = [];
|
||||||
while ($entry = DBA::fetch($entries)) {
|
while ($entry = DBA::fetch($entries)) {
|
||||||
|
@ -73,6 +73,7 @@ class Queue extends BaseAdmin
|
||||||
'$page' => $sub_title,
|
'$page' => $sub_title,
|
||||||
'$count' => count($r),
|
'$count' => count($r),
|
||||||
'$id_header' => DI::l10n()->t('ID'),
|
'$id_header' => DI::l10n()->t('ID'),
|
||||||
|
'$command_header' => DI::l10n()->t('Command'),
|
||||||
'$param_header' => DI::l10n()->t('Job Parameters'),
|
'$param_header' => DI::l10n()->t('Job Parameters'),
|
||||||
'$created_header' => DI::l10n()->t('Created'),
|
'$created_header' => DI::l10n()->t('Created'),
|
||||||
'$prio_header' => DI::l10n()->t('Priority'),
|
'$prio_header' => DI::l10n()->t('Priority'),
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{$id_header}}</th>
|
<th>{{$id_header}}</th>
|
||||||
|
<th>{{$command_header}}</th>
|
||||||
<th>{{$param_header}}</th>
|
<th>{{$param_header}}</th>
|
||||||
<th>{{$created_header}}</th>
|
<th>{{$created_header}}</th>
|
||||||
<th>{{$prio_header}}</th>
|
<th>{{$prio_header}}</th>
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
{{foreach $entries as $e}}
|
{{foreach $entries as $e}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{$e.id}}</td>
|
<td>{{$e.id}}</td>
|
||||||
|
<td>{{$e.command}}</td>
|
||||||
<td>{{$e.parameter}}</td>
|
<td>{{$e.parameter}}</td>
|
||||||
<td>{{$e.created}}</td>
|
<td>{{$e.created}}</td>
|
||||||
<td>{{$e.priority}}</td>
|
<td>{{$e.priority}}</td>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{$id_header}}</th>
|
<th>{{$id_header}}</th>
|
||||||
|
<th>{{$command_header}}</th>
|
||||||
<th>{{$param_header}}</th>
|
<th>{{$param_header}}</th>
|
||||||
<th>{{$created_header}}</th>
|
<th>{{$created_header}}</th>
|
||||||
<th>{{$prio_header}}</th>
|
<th>{{$prio_header}}</th>
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
{{foreach $entries as $e}}
|
{{foreach $entries as $e}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{$e.id}}</td>
|
<td>{{$e.id}}</td>
|
||||||
|
<td>{{$e.command}}</td>
|
||||||
<td>{{$e.parameter}}</td>
|
<td>{{$e.parameter}}</td>
|
||||||
<td>{{$e.created}}</td>
|
<td>{{$e.created}}</td>
|
||||||
<td>{{$e.priority}}</td>
|
<td>{{$e.priority}}</td>
|
||||||
|
|
Loading…
Reference in a new issue