Closed Bug 530406 Opened 15 years ago Closed 15 years ago

Search for "Age in days" uses "is" with "is less than" default, works fine when manually selected

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1a1

People

(Reporter: rsx11m.pub, Assigned: neil)

References

Details

(Keywords: fixed-seamonkey2.0.1)

Attachments

(1 file)

I found this while testing for bug 530403 on the Thunderbird counterpart.

If you enter the search dialog and switch the search term to "Age in days", not touching the default "is less than", you get a different search result than if explicitly selecting that option from the menu.

Steps to reproduce:
1. Search in a local folder with some messages less than n days old;
2. select "Age in days", default goes to "is less than";
3. enter a number n and click Search;
4. only a few results - if any - are shown (still looking for "is" instead?);
5. select "is more than" and go back to "is less than";
6. Search now shows the correct list of results.

The default was changed from "is" by bug 187741.
Some more testing (current nightly build), indeed the "is" filter is used when the "is less than" default is left unchanged (both IMAP and Local Folders).
Summary: Search for "Age in days" doesn't work right with "is less than" default → Search for "Age in days" uses "is" with "is less than" default, works fine when manually selected
Attached patch Proposed patchSplinter Review
So much for my original "fix" :-(
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #413936 - Flags: review?(mnyromyr)
OS: Windows XP → All
Hardware: x86 → All
Attachment #413936 - Flags: review?(mnyromyr)
Attachment #413936 - Flags: review+
Attachment #413936 - Flags: approval-seamonkey2.0.1+
Pushed changeset 0ee062df1a25 to comm-central.

Pushed changeset 9bca5aa6d303 to releases/comm-1.9.1
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: