From 5e87be46410b26f1d6f84f9bc8470d355e96a53a Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 24 Apr 2021 11:56:24 -0400 Subject: [PATCH] Filter: Fix copy-paste error in pendingOnly --- src/Filter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Filter.cpp b/src/Filter.cpp index 852d7669e..2fc057f9a 100644 --- a/src/Filter.cpp +++ b/src/Filter.cpp @@ -227,8 +227,8 @@ bool Filter::pendingOnly () const if (a._lextype == Lexer::Type::op && raw == "not") ++countNot; if (a._lextype == Lexer::Type::dom && canonical == "status") ++countStatus; if ( raw == "pending") ++countPending; - if ( raw == "waiting") ++countPending; - if ( raw == "recurring") ++countPending; + if ( raw == "waiting") ++countWaiting; + if ( raw == "recurring") ++countRecurring; } }