Project

General

Profile

Revision 8d02775b

Added by Assos Assos about 4 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/webform/includes/webform.report.inc
1921 1921
 */
1922 1922
function webform_download_sids_query($nid, array $range_options, $uid = NULL) {
1923 1923
  $query = db_select('webform_submissions', 'ws')
1924
    ->condition('nid', $nid)
1924
    ->condition('ws.nid', $nid)
1925 1925
    ->addTag('webform_download_sids');
1926 1926

  
1927 1927
  switch ($range_options['range_type']) {
......
1987 1987
  if (isset($range_options['batch_number']) && !empty($range_options['batch_size'])) {
1988 1988
    $query->range($range_options['batch_number'] * $range_options['batch_size'], $range_options['batch_size']);
1989 1989
  }
1990

  
1991
  drupal_alter('webform_download_sids_query', $query);
1992

  
1990 1993
  return $query;
1991 1994
}
1992 1995

  

Also available in: Unified diff