From 8ae877081269b65b077c7202d4540d50ce456eec Mon Sep 17 00:00:00 2001 From: Bibaswan Bhawal Date: Tue, 27 Jun 2023 16:42:18 -0700 Subject: [PATCH] Bugfix - Fixed live queries to respect filters (#2192) --- lib/src/doc/lives.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/doc/lives.rs b/lib/src/doc/lives.rs index d95729fe..700afdef 100644 --- a/lib/src/doc/lives.rs +++ b/lib/src/doc/lives.rs @@ -27,7 +27,7 @@ impl<'a> Document<'a> { // Create a new statement let lq = Statement::from(lv); // Check LIVE SELECT where condition - if self.check(ctx, opt, stm).await.is_err() { + if self.check(ctx, opt, &lq).await.is_err() { continue; } // Check what type of data change this is