From: Alan Knowles Date: Thu, 13 Feb 2014 07:37:59 +0000 (+0800) Subject: DataObjects/Core_notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=c80c353568feb0947ff4e2373037a7caa7e20bd8 DataObjects/Core_notify.php --- diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index edb070cb..790d475d 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -190,6 +190,9 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject case 'PENDING'; $this->whereAdd('event_id = 0 OR (event_id > 0 AND act_when > NOW() )'); break; + case 'OPENED'; + $this->whereAdd('is_open > 0'); + break; case 'ALL': default: break;