summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/report.h b/src/report.h
index 9c483c76..6c1049bb 100644
--- a/src/report.h
+++ b/src/report.h
@@ -294,25 +294,28 @@ public:
return true;
}
-#if 0
value_t option_current(call_scope_t& args) { // c
- if (! report->predicate.empty())
- report->predicate += "&";
- report->predicate += "d<=m";
+ if (! predicate.empty())
+ predicate += "&";
+ predicate += "date<=now";
+ return true;
}
value_t option_cleared(call_scope_t& args) { // C
- if (! report->predicate.empty())
- report->predicate += "&";
- report->predicate += "X";
+ if (! predicate.empty())
+ predicate += "&";
+ predicate += "cleared";
+ return true;
}
value_t option_uncleared(call_scope_t& args) { // U
- if (! report->predicate.empty())
- report->predicate += "&";
- report->predicate += "!X";
+ if (! predicate.empty())
+ predicate += "&";
+ predicate += "!cleared";
+ return true;
}
+#if 0
value_t option_real(call_scope_t& args) { // R
if (! report->predicate.empty())
report->predicate += "&";