summaryrefslogtreecommitdiffstats
path: root/mailnews/db
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-11 00:22:33 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-11 00:22:33 -0500
commit7922314fa479d5c5c1a4e580f643d79af3151da0 (patch)
tree376db7ba9ff43a35dfd8ec95f4ac5e3e32cb8adf /mailnews/db
parent31fea2bc2b99c1c5008a41c02c78f921d3fa1c62 (diff)
downloadUXP-7922314fa479d5c5c1a4e580f643d79af3151da0.tar
UXP-7922314fa479d5c5c1a4e580f643d79af3151da0.tar.gz
UXP-7922314fa479d5c5c1a4e580f643d79af3151da0.tar.lz
UXP-7922314fa479d5c5c1a4e580f643d79af3151da0.tar.xz
UXP-7922314fa479d5c5c1a4e580f643d79af3151da0.zip
Bug 1546840 - Allow GloDa queries for read or unread messages
Tag #1273
Diffstat (limited to 'mailnews/db')
-rw-r--r--mailnews/db/gloda/modules/explattr.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/mailnews/db/gloda/modules/explattr.js b/mailnews/db/gloda/modules/explattr.js
index 08fc160f6..851f88a11 100644
--- a/mailnews/db/gloda/modules/explattr.js
+++ b/mailnews/db/gloda/modules/explattr.js
@@ -99,6 +99,8 @@ var GlodaExplicitAttr = {
extensionName: Gloda.BUILT_IN,
attributeType: Gloda.kAttrExplicit,
attributeName: "read",
+ // Make the message query-able but without using the database.
+ canQuery: "truthy-but-not-true",
singular: true,
subjectNouns: [Gloda.NOUN_MESSAGE],
objectNoun: Gloda.NOUN_BOOLEAN,