We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aca079 commit ab3d1b0Copy full SHA for ab3d1b0
1 file changed
src/tags.ts
@@ -122,21 +122,22 @@ export const compileTagFilterExpressions = (exprs: TagFilterExpression[]): ItemF
122
}
123
break;
124
case '<':
125
- if (expr_val >= task_val) {
+ if (task_val >= expr_val) {
126
return false;
127
128
129
case '>':
130
- if (expr_val <= task_val) {
+ if (task_val <= expr_val) {
131
132
133
134
- case '>=':
135
- if (expr_val < task_val) {
+ case '<=':
+ if (task_val > expr_val) {
136
137
138
- case '<=':
139
- if (expr_val > task_val) {
+ break;
+ case '>=':
140
+ if (task_val < expr_val) {
141
142
};
143
0 commit comments