It would seem to me that by default users would want to see the most recently downloaded files. Sortable columns are nice to let folks customize, but most recent seems to be where it should start. My $0.02.

Thanks for the great module!!

Comments

Philo72’s picture

You can change this yourself (if you modify the code)

line 81 of webfm_statistics.module to

From this--->

$header = array(
array('data' => t('File Type'), 'field' => 'fmime', 'sort' => 'desc'),
array('data' => t('Time'), 'field' => 'dl_time', 'sort' => 'asc'),
array('data' => t('User'), 'field' => 'name', 'sort' => 'desc'),
array('data' => t('Mail'), 'field' => 'mail', 'sort' => 'desc'),
array('data' => t('File'), 'field' => 'fpath', 'sort' => 'desc'),
array('data' => t('Node'), 'field' => 'nid', 'sort' => 'desc'),
);

change to This--->

$header = array(
array('data' => t('File Type'), 'field' => 'fmime'),
array('data' => t('Time'), 'field' => 'dl_time', 'sort' => 'desc'),
array('data' => t('User'), 'field' => 'name'),
array('data' => t('Mail'), 'field' => 'mail'),
array('data' => t('File'), 'field' => 'fpath'),
array('data' => t('Node'), 'field' => 'nid'),
);