Skip to content

Commit

Permalink
2.26.2 Added Log Session ID for Log Sessions Report
Browse files Browse the repository at this point in the history
  • Loading branch information
classaxe committed Jan 4, 2021
1 parent 7d8dd75 commit e05bf24
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
11 changes: 0 additions & 11 deletions src/Columns/ListenerLogsessions.php
Expand Up @@ -13,17 +13,6 @@ class ListenerLogsessions
public function getColumns()
{
return [
// 'id' => [
// 'admin' => true,
// 'arg' => '',
// 'field' => 'id',
// 'label' => 'Session ID',
// 'order' => 'a',
// 'sort' => 'ls.id',
// 'td_class' => '',
// 'th_class' => '',
// 'tooltip' => '',
// ],
'timestamp' => [
'admin' => false,
'arg' => '',
Expand Down
22 changes: 11 additions & 11 deletions src/Columns/Logsessions.php
Expand Up @@ -13,17 +13,17 @@ class Logsessions
public function getColumns()
{
return [
// 'id' => [
// 'admin' => true,
// 'arg' => '',
// 'field' => 'id',
// 'label' => 'Session ID',
// 'order' => 'a',
// 'sort' => 'ls.id',
// 'td_class' => '',
// 'th_class' => '',
// 'tooltip' => '',
// ],
'id' => [
'admin' => true,
'arg' => '',
'field' => 'id',
'label' => 'Session ID',
'order' => 'a',
'sort' => 'ls.id',
'td_class' => '',
'th_class' => '',
'tooltip' => '',
],
'uploader' => [
'admin' => false,
'arg' => '',
Expand Down
2 changes: 1 addition & 1 deletion templates/log_sessions/grid.html.twig
Expand Up @@ -37,7 +37,7 @@
%}>
{%
if key == 'id'
%}{% if isAdmin %}<a href="{{ url('log', { 'system' : system, 'id' : ls.id }) }}" data-popup="1">{{ ls.id }}</a>{% endif %}{%
%}{% if false %}<a href="{{ url('log', { 'system' : system, 'id' : ls.id }) }}" data-popup="1">{{ ls.id }}</a>{% else %}{{ ls.id }}{% endif %}{%
elseif key == 'listener'
%}<a href="{{ url('listener_logsessions', { 'system' : system, 'id' : ls.listenerId }) }}" data-popup="1" title="Click to view Log Sessions for this Listener">{{ ls.listener|raw }}</a>{%
elseif key == 'delete' and isAdmin
Expand Down

0 comments on commit e05bf24

Please sign in to comment.