Quoting "Jan Schneider" <[EMAIL PROTECTED]>: > Zitat von "Michael M Slusarz" <[EMAIL PROTECTED]>: > >> Quoting Harakiri <[EMAIL PROTECTED]>: >> >>> 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.
How do you tell whether the the previous search was in bytes, KB, or MB? (I would not agree on any change that would simply make KB the default - I think bytes makes more sense as a default than KB). Scenario: 1. User searches for something in KB. 2. Search returns no result. 3. When search is reloaded, his search will be displayed in bytes, not KB. Although not incorrect behavior, it probably isn't the expected behavior. Additionally, the textified representations of the search will be incorrect also. Thus the need to alter the stored virtual folder value in someway to indicate the search type. michael -- ___________________________________ Michael Slusarz [EMAIL PROTECTED] -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED]