Skip to content

Commit

Permalink
Fixed bug where the SQL to retrieve previously printed records was se…
Browse files Browse the repository at this point in the history
…arching the wrong logging text.
  • Loading branch information
alee2-bcchr committed Mar 19, 2021
1 parent 6e72ba6 commit 6228b1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CustomTemplateEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -2424,7 +2424,7 @@ function getDropdownOptions($filter = false)
}

$query = "SELECT pk, max(ts) as ts FROM $log_event_table
where (description = 'Downloaded Report' or description = 'Downloaded Reports' or description = 'Custom Template Engine - Downloaded Report')
where (description = 'Downloaded Report' or description = 'Downloaded Reports' or description = 'Custom Template Engine - Downloaded Reports')
and page = 'ExternalModules/index.php'
and pk is not null
and project_id = " . $this->pid .
Expand Down

0 comments on commit 6228b1e

Please sign in to comment.