GNOME Bugzilla – Bug 589495
Search folder by Size (KB) counts bytes, not KB
Last modified: 2011-05-26 09:12:51 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/evolution/+bug/385859 "* create a search folder * criteria: greater than size (kb) * enter 100 * save The folder contains many messages < 100 KB Change the value to 100.000 seems to work. So it looks like it counts the bytes, not the kilobytes as stated in the text" Thanks,
Probably a similar bug when filtering. Tagging for both.
Created attachment 188641 [details] [review] eds patch for evolution-data-server; Search folders work fine for me, but usual searches don't, because they use sexp to sql conversion which doesn't divide size by 1024, as the old filtering/searching code does. With this patch it produces correct SQL expressions with size value divided by 1024.
Created commit eab040b in eds master (3.1.2+) Created commit b569a3f in eds gnome-3-0 (3.0.3+)