It would be great, if Views: Sort by download_count could be implemented. Audio Files could sorted by download_count then.

Comments

krahe’s picture

Is very useful when you want to sort without displaying play count/download count

Should be pasted into views_audio.inc - after filters.

		'sorts' => array(
	        'download_count' => array(
	        'name' => t('Audio: Download count'),
	        'help' => t('Sort your view by download count.'),
		    ),
 	    'play_count' => array(
	        'name' => t('Audio: Play count'),
	        'help' => t('Sort your view by play count.'),
		    ),
		  ),
drewish’s picture

Component: Code » Views support

created a better componet for this...

drewish’s picture

Status: Active » Closed (duplicate)