Bug 2622

Summary: Additional Age/Time Evaluations for Filtering/Quicksearch
Product: Claws Mail (GTK 2) Reporter: Abhay S. Kushwaha <clawsmail>
Component: FilteringAssignee: users
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P3    
Version: 3.8.0   
Hardware: PC   
OS: Windows NT   

Description Abhay S. Kushwaha 2012-03-03 10:29:44 UTC
Currently messages can be filtered by age in days, weeks, etc. Could you please also enable evaluation by number of hours since it will make things very, very useful. I am often searching for messages that arrived between certain time periods and a combo like "ag 3 h & al 4 h" is going to be awesome.

Alternatively, maybe allow search for timestamps so I could search for messages that were sent between 3pm and 4pm. And by combination with other filters like the age evaluation, it would make search much, much, much powerful. For example: "Show me messages sent between midnight and 9am" and then "limit them to last 7 days".

Maybe implement both!? That would be so incredible!
Comment 1 Abhay S. Kushwaha 2012-11-22 08:49:15 UTC
The first part is done. So I'm using the format Colin typically uses to mark things as done.

Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.claws-mail.org/tracker/

2012-11-18 [colin]      3.9.0cvs14

    * AUTHORS
    * src/advsearch.c
    * src/matcher.c
    * src/matcher.h
    * src/matcher_parser_parse.y
    * src/prefs_matcher.c
    * src/gtk/authors.h
    * src/gtk/quicksearch.c
        Add age_{greater,lower}_hours matcher criteria
        Initial patch by Abhay S. Kushwaha.