~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Controller/AuditLog.php

  • Committer: GitHub
  • Author(s): Dan Garner
  • Date: 2018-05-31 11:08:02 UTC
  • mfrom: (644.2.25)
  • Revision ID: git-v1:f1f8e8453efa71819c302dd9c5b72b8602028fa2
Merge pull request #379 from PeterMis/bugfix/1.8.10-pack1

Bugfix/1.8.10 pack1

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        $filterToDt = $this->getSanitizer()->getDate('toDt');
66
66
        $filterUser = $this->getSanitizer()->getString('user');
67
67
        $filterEntity = $this->getSanitizer()->getString('entity');
 
68
        $filterEntityId = $this->getSanitizer()->getString('entityId');
68
69
 
69
70
        $search = [];
70
71
 
84
85
        if ($filterEntity != '')
85
86
            $search['entity'] = $filterEntity;
86
87
 
 
88
        if ($filterEntityId != null)
 
89
            $search['entityId'] = $filterEntityId;
 
90
 
87
91
        $rows = $this->auditLogFactory->query($this->gridRenderSort(), $this->gridRenderFilter($search));
88
92
 
89
93
        // Do some post processing