Active
Project:
Web File Manager Statistics
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 May 2009 at 16:51 UTC
Updated:
22 Sep 2009 at 15:48 UTC
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
Comment #1
Philo72 commentedYou 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'),
);