Skip to content

Commit

Permalink
Merge branch 'hotfix-10.6.13' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Sep 16, 2016
2 parents 14594af + 3232fd5 commit edda30f
Show file tree
Hide file tree
Showing 4 changed files with 10 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.6.12",
"version":"10.6.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.6.12",
"version":"10.6.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.6.12
preside.version=10.6.13
##############################
9 changes: 7 additions & 2 deletions system/services/presideObjects/PresideObjectService.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1413,12 +1413,17 @@ component singleton=true autodoc=true displayName="Preside Object Service" {
return objects;
}

private array function _getJoinsFromJoinTargets( required string objectName, required array joinTargets, required string forceJoins, required boolean fromVersionTable ) {
private array function _getJoinsFromJoinTargets(
required string objectName
, required array joinTargets
, required string forceJoins
, required boolean fromVersionTable
) {
var joins = [];

if ( ArrayLen( arguments.joinTargets ) ) {
var joinsCache = _getCache();
var joinsCacheKey = "SQL Joins for #arguments.objectName# with join targets: #ArrayToList( arguments.joinTargets )#. From version table: #arguments.fromVersionTable#."
var joinsCacheKey = "SQL Joins for #arguments.objectName# with join targets: #ArrayToList( arguments.joinTargets )#. From version table: #arguments.fromVersionTable#. Forcing joins: [#arguments.forceJoins#]."

joins = joinsCache.get( joinsCacheKey );

Expand Down

0 comments on commit edda30f

Please sign in to comment.