--- webfm_2.5/webfm_views.inc +++ webfm/webfm_views.inc @@ -73,21 +73,25 @@ 'ftitle' => array( 'name' => t('WebFM metadata: file title'), 'sortable' => true, + 'handler' => 'webfm_views_handler_file_meta', 'help' => t('Display the file title of files that have been attached to a node via WebFM') ), 'fdesc' => array( 'name' => t('WebFM metadata: File description'), 'sortable' => true, + 'handler' => 'webfm_views_handler_file_meta', 'help' => t('Display the description of files that have been attached to a node via WebFM') ), 'flang' => array( 'name' => t('WebFM metadata: File language'), 'sortable' => true, + 'handler' => 'webfm_views_handler_file_meta', 'help' => t('Display the language of files that have been attached to a node via WebFM') ), 'fpublisher' => array( 'name' => t('WebFM metadata: File publisher'), 'sortable' => true, + 'handler' => 'webfm_views_handler_file_meta', 'help' => t('Display the publisher of files that have been attached to a node via WebFM') ), 'dl_cnt' => array( @@ -214,6 +218,10 @@ return format_size($value); } +function webfm_views_handler_file_meta($fieldinfo, $fielddata, $value, $data) { + return rawurldecode($value); +} + function webfm_views_default_views(){