The plugin seems to miss hits when the description in the file attachement menu is modified.
Example: upload a file "mydownload.rar" as a file attachement. When i change the description to f.e. "mydownload (windows version)", the downloads arent counted anymore.

CommentFileSizeAuthor
#1 download_count.module-6.x-1.x.txt11.74 KBewrick

Comments

ewrick’s picture

StatusFileSize
new11.74 KB

Hi there,
Thanks for pointing out this issue, I didn't know why this module wouldn't work until I found your post.

I've updated a few queries in the module file so that it now works fine for me, when description is different from the filename...
(Don't know if there's a better way to submit patches, but you'll find the updated module file attached)

Chill35’s picture

This issue is related: http://drupal.org/node/258726

I studied every query with a structure of the tables on a piece of paper by my side. This time I believe I got it right.

Please test the 6.x-1.2 release!

I would VERY MUCH appreciate your feedback on this.

Have a splendid day!

Chill35’s picture

Assigned: Unassigned » Chill35
Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.