If you set the export range to the same day, you can an empty dataset because the SELECT statement will look for a range spanning a single second of the day.
Line 145 of download_count/includes/download_count.export.inc:
$row = '"' . $record->dcid . '"' . ', ';
Just to the left of the line-ending '; is an extra space which throws off CSV import parsers. The line should look like this:
$row = '"' . $record->dcid . '"' . ',';
This change should be made for all files within the enclosing while() loop.
I'll post patches later.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | download_count.delim-fix.patch | 1.55 KB | jyg |
Comments
Comment #1
jyg commentedHere's the patch...
Comment #2
WorldFallz commentedThanks for this one too jyg-- committed to current dev branch.
http://drupalcode.org/project/download_count.git/commit/5101e99