On 10 Aug 2011, at 5:52 PM, The Dragon wrote:

> First off - I am beyond impressed with Baruwa and can't wait to replace my 
> 'previous other solution' 
> 
> Due to the amount of emails / spam, I used to set a default filter of 
> "messages since yesterday", i.e. "date >= yesterday" - over-writable, but 
> always there when you first log on. I'd like to implement that somewhere in 
> Baruwa, but I'm very much a Python novice. 
> 
> If someone could point me in the right direction, that would be great! 

Please find attached a patch that should do just that. To enable it uncomment 
LOAD_BARUWA_DEFAULT_FILTER = True in settings.py

Attachment: 0001-added-default-filter-to-load-only-todays-mail.patch
Description: Binary data


--
Baruwa - www.baruwa.org

_______________________________________________
Baruwa mailing list
[email protected]
http://lists.baruwa.org/mailman/listinfo/baruwa
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to