Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2006 at 04:54 UTC
Updated:
7 May 2006 at 22:01 UTC
I think you should add a field handler for file sizes. All it has to do is map to format_size().
Attached is a very simple patch to do just that.
| Comment | File | Size | Author |
|---|---|---|---|
| views.module_filesize.patch | 1.62 KB | drewish |
Comments
Comment #1
drewish commentedhumm, it looks like the patch isn't so simple. my editor seems to have cleaned off some trailing whitespace.
Comment #2
drewish commentedit looks like someone committed this (or someone else's version)?
Comment #3
drewish commentedComment #4
merlinofchaos commentedYup, I did; forgot to mark it fixed.
Comment #5
(not verified) commented