add new ID for nonresident property owner - it should exclude from updating.
authorBradley Bonner <bbonner@kcls.org>
Wed, 8 Apr 2015 21:49:58 +0000 (14:49 -0700)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
KCLS/utility-scripts/patron_activity/patron_activity.sql

index adedf36..7f47709 100644 (file)
@@ -10,6 +10,6 @@ WHERE event_time BETWEEN current_date - 2 AND current_date - 1
 AND actor.usr_activity.usr IS NOT NULL
 ) AND NOT barred
 AND NOT deleted
-AND profile NOT IN (31, 91, 17, 26, 23, 32, 90);
+AND profile NOT IN (31, 91, 17, 26, 23, 32, 90, 92);
 
 COMMIT;