[imp] search msg size in KB
Jan Schneider
jan at horde.org
Mon Jun 9 22:17:43 UTC 2008
Zitat von "Michael M Slusarz" <slusarz at horde.org>:
> Quoting Harakiri <harakiri_23 at yahoo.com>:
>
>> A better idea would be to add a dropdown list MB, KB, Byte and the
>> value in the field would automatically multipled by the selected
>> setting - this way you are not limiting yourself to a specific range
>> if you search by byte count internally already
>
> Agreed - changing this to search for KB (or MB) will break all current
> virtual folders unless some kind of in-place updating of preference
> data is done.
Why? All you have to do is to calculate to bytes before storing it in
the virtual folder preference, and the opposite when reading it.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the imp
mailing list