Skip to content

Commit

Permalink
release-app
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Feb 24, 2025
1 parent 5ea71cd commit 95ab372
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion screenpipe-app-tauri/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
version = "0.37.2"
version = "0.37.3"
description = ""
authors = ["you"]
license = ""
Expand Down
8 changes: 4 additions & 4 deletions screenpipe-server/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1031,10 +1031,10 @@ impl DatabaseManager {
r#"SELECT COUNT(DISTINCT ui_monitoring.id)
FROM {table}
WHERE {match_condition}
AND (?2 IS NULL OR timestamp >= ?2)
AND (?3 IS NULL OR timestamp <= ?3)
AND (?4 IS NULL OR COALESCE(text_length, LENGTH(text_output)) >= ?4)
AND (?5 IS NULL OR COALESCE(text_length, LENGTH(text_output)) <= ?5)"#,
AND (?2 IS NULL OR ui_monitoring.timestamp >= ?2)
AND (?3 IS NULL OR ui_monitoring.timestamp <= ?3)
AND (?4 IS NULL OR COALESCE(ui_monitoring.text_length, LENGTH(ui_monitoring.text_output)) >= ?4)
AND (?5 IS NULL OR COALESCE(ui_monitoring.text_length, LENGTH(ui_monitoring.text_output)) <= ?5)"#,
table = if ui_fts_query.is_empty() {
"ui_monitoring"
} else {
Expand Down

0 comments on commit 95ab372

Please sign in to comment.