Skip to content

Commit

Permalink
Merge branch 'hotfix-10.7.13' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Dec 16, 2016
2 parents b1ab90c + 68afd11 commit c7aaf07
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion box.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"PresideCMS",
"version":"10.7.12",
"version":"10.7.13",
"author":"Pixl8 Interactive",
"createPackageDirectory":true,
"packageDirectory":"preside",
Expand Down
2 changes: 1 addition & 1 deletion box.json.no.deps
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"PresideCMS",
"version":"10.7.12",
"version":"10.7.13",
"author":"Pixl8 Interactive",
"createPackageDirectory":true,
"packageDirectory":"preside",
Expand Down
2 changes: 1 addition & 1 deletion support/build/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ build.number.remote.url=http://downloads.presidecms.com/presidecms/build.number

##############################
# MANUALLY UPDATE EACH VERSION
preside.version=10.7.12
preside.version=10.7.13
##############################
12 changes: 10 additions & 2 deletions system/services/admin/AuditService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,20 @@ component displayName="Audit Service" {
filter = {};
}

return _getDao().selectData(
filter = filter
var subset = _getDao().selectData(
selectFields = [ "audit_log.id" ]
, filter = filter
, filterParams = params
, orderby = "audit_log.datecreated desc"
, maxRows = arguments.pageSize
, startRow = ( ( arguments.page - 1 ) * arguments.pageSize ) + 1
);

subset = subset.recordCount ? ValueArray( subset.id ) : [];

return _getDao().selectData(
filter = { "audit_log.id" = subset }
, orderby = "audit_log.datecreated desc"
, selectFields = [
"audit_log.id"
, "audit_log.type"
Expand Down

0 comments on commit c7aaf07

Please sign in to comment.