]> git.mxchange.org Git - friendica.git/commitdiff
the command was missing from the worker queue overview
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 2 May 2021 07:42:09 +0000 (09:42 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 2 May 2021 07:55:19 +0000 (09:55 +0200)
src/Module/Admin/Queue.php
view/templates/admin/queue.tpl
view/theme/frio/templates/admin/queue.tpl

index 110a5424d536be5fb85026140a39b70856a4b699..f0883b361f28592bf3167a189d8a6fa1cca24fb4 100644 (file)
@@ -56,7 +56,7 @@ class Queue extends BaseAdmin
                }
 
                // @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 = [];
                while ($entry = DBA::fetch($entries)) {
@@ -73,6 +73,7 @@ class Queue extends BaseAdmin
                        '$page' => $sub_title,
                        '$count' => count($r),
                        '$id_header' => DI::l10n()->t('ID'),
+                       '$command_header' => DI::l10n()->t('Command'),
                        '$param_header' => DI::l10n()->t('Job Parameters'),
                        '$created_header' => DI::l10n()->t('Created'),
                        '$prio_header' => DI::l10n()->t('Priority'),
index 5bab58a5e91937b044dcdfc90747f20b9d3cbfab..d50ff2082fcb3382dc3ff19d2841f773cd4e6967 100644 (file)
@@ -5,6 +5,7 @@
        <table>
                <tr>
                        <th>{{$id_header}}</th>
+                       <th>{{$command_header}}</th>
                        <th>{{$param_header}}</th>
                        <th>{{$created_header}}</th>
                        <th>{{$prio_header}}</th>
@@ -12,6 +13,7 @@
                {{foreach $entries as $e}}
                <tr>
                        <td>{{$e.id}}</td>
+                       <td>{{$e.command}}</td>
                        <td>{{$e.parameter}}</td>
                        <td>{{$e.created}}</td>
                        <td>{{$e.priority}}</td>
index ab076a0f73a78102dd8c5511136195e0b09cdf3b..4ee60af1044fcc1f0fe7205029cac628f12f9240 100644 (file)
@@ -5,6 +5,7 @@
        <table class="table">
                <tr>
                        <th>{{$id_header}}</th>
+                       <th>{{$command_header}}</th>
                        <th>{{$param_header}}</th>
                        <th>{{$created_header}}</th>
                        <th>{{$prio_header}}</th>
@@ -12,6 +13,7 @@
                {{foreach $entries as $e}}
                <tr>
                        <td>{{$e.id}}</td>
+                       <td>{{$e.command}}</td>
                        <td>{{$e.parameter}}</td>
                        <td>{{$e.created}}</td>
                        <td>{{$e.priority}}</td>