From fa695e83e61c627e7210a4bc0263256e73c61221 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Thu, 31 May 2012 13:25:13 +0000
Subject: [PATCH] Fix condition.

---
 .../portal_skins/vifib_slap/Alarm_updatePersonOpenOrder.xml     | 2 +-
 master/bt5/vifib_slap/bt/revision                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_updatePersonOpenOrder.xml b/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_updatePersonOpenOrder.xml
index 19012246a..1f3723930 100644
--- a/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_updatePersonOpenOrder.xml
+++ b/master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_updatePersonOpenOrder.xml
@@ -59,7 +59,7 @@ from Products.ZSQLCatalog.SQLCatalog import Query\n
 from Products.ERP5Type.DateUtils import getClosestDate, addToDate\n
 \n
 last_active_process = context.getLastActiveProcess()\n
-if last_active_process is not None and params.get(\'full\', False):\n
+if last_active_process is not None and not(params.get(\'full\', False)):\n
   # fetch only objects modified since last alarm run\n
   kw[\'modification_date\'] = Query(modification_date=last_active_process.getStartDate(), range="min")\n
   search_kw[\'modification_date\'] = Query(modification_date=addToDate(last_active_process.getStartDate(), to_add={\'hour\': -1}), range="min")\n
diff --git a/master/bt5/vifib_slap/bt/revision b/master/bt5/vifib_slap/bt/revision
index 5d1d1b123..880ae5655 100644
--- a/master/bt5/vifib_slap/bt/revision
+++ b/master/bt5/vifib_slap/bt/revision
@@ -1 +1 @@
-755
\ No newline at end of file
+756
\ No newline at end of file
-- 
2.30.9