updated webform, uuid, synonyms modules
This commit is contained in:
@@ -611,7 +611,7 @@ function webform_get_submissions($filters = array(), $header = NULL, $pager_coun
|
||||
|
||||
// No need to find SIDs if it was given to us.
|
||||
if (isset($filters['sid'])) {
|
||||
$sids = array($filters['sid']);
|
||||
$sids = (array) $filters['sid'];
|
||||
}
|
||||
// Build the list of SIDs that need to be retrieved.
|
||||
else {
|
||||
@@ -705,7 +705,12 @@ function webform_get_submissions($filters = array(), $header = NULL, $pager_coun
|
||||
$function($submissions);
|
||||
}
|
||||
|
||||
return $submissions;
|
||||
// Reorder submissions to reflect table header sorting.
|
||||
$ordered_submissions = array();
|
||||
foreach($sids as $sid) {
|
||||
$ordered_submissions[$sid] = $submissions[$sid];
|
||||
}
|
||||
return $ordered_submissions;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -24,9 +24,9 @@ files[] = tests/permissions.test
|
||||
files[] = tests/submission.test
|
||||
files[] = tests/webform.test
|
||||
|
||||
; Information added by Drupal.org packaging script on 2016-10-19
|
||||
version = "7.x-3.25"
|
||||
; Information added by Drupal.org packaging script on 2017-02-09
|
||||
version = "7.x-3.27"
|
||||
core = "7.x"
|
||||
project = "webform"
|
||||
datestamp = "1476870845"
|
||||
datestamp = "1486665496"
|
||||
|
||||
|
Reference in New Issue
Block a user