From d6658fe26f50e5a0f87a3a3705a12da5f0fa81bc Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Thu, 6 Feb 2025 02:31:33 -0500 Subject: [PATCH] Remove missed handleRecurrence/handleUntil calls (#3771) These were missed in #3753. --- src/commands/CmdEdit.cpp | 4 +--- src/commands/CmdHistory.cpp | 4 +--- src/commands/CmdIDs.cpp | 10 ---------- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/commands/CmdEdit.cpp b/src/commands/CmdEdit.cpp index b7890bdee..92dcbc828 100644 --- a/src/commands/CmdEdit.cpp +++ b/src/commands/CmdEdit.cpp @@ -64,7 +64,7 @@ CmdEdit::CmdEdit() { _read_only = false; _displays_id = false; _needs_gc = false; - _needs_recur_update = false; + _needs_recur_update = true; _uses_context = true; _accepts_filter = true; _accepts_modifications = false; @@ -78,8 +78,6 @@ CmdEdit::CmdEdit() { // wrench. To be used sparingly. int CmdEdit::execute(std::string&) { // Filter the tasks. - handleUntil(); - handleRecurrence(); Filter filter; std::vector filtered; filter.subset(filtered); diff --git a/src/commands/CmdHistory.cpp b/src/commands/CmdHistory.cpp index d6f1f9147..73788b01a 100644 --- a/src/commands/CmdHistory.cpp +++ b/src/commands/CmdHistory.cpp @@ -55,7 +55,7 @@ CmdHistoryBase::CmdHistoryBase() { _read_only = true; _displays_id = false; _needs_gc = false; - _needs_recur_update = false; + _needs_recur_update = true; _uses_context = true; _accepts_filter = true; _accepts_modifications = false; @@ -294,8 +294,6 @@ int CmdHistoryBase::execute(std::string& output) { completedGroup.clear(); // Apply filter. - handleUntil(); - handleRecurrence(); Filter filter; std::vector filtered; filter.subset(filtered); diff --git a/src/commands/CmdIDs.cpp b/src/commands/CmdIDs.cpp index acb2df9e7..5782aaf63 100644 --- a/src/commands/CmdIDs.cpp +++ b/src/commands/CmdIDs.cpp @@ -137,8 +137,6 @@ CmdCompletionIds::CmdCompletionIds() { //////////////////////////////////////////////////////////////////////////////// int CmdCompletionIds::execute(std::string& output) { // Apply filter. - handleUntil(); - handleRecurrence(); Filter filter; std::vector filtered; filter.subset(filtered); @@ -174,8 +172,6 @@ CmdZshCompletionIds::CmdZshCompletionIds() { //////////////////////////////////////////////////////////////////////////////// int CmdZshCompletionIds::execute(std::string& output) { // Apply filter. - handleUntil(); - handleRecurrence(); Filter filter; std::vector filtered; filter.subset(filtered); @@ -211,8 +207,6 @@ CmdUUIDs::CmdUUIDs() { //////////////////////////////////////////////////////////////////////////////// int CmdUUIDs::execute(std::string& output) { // Apply filter. - handleUntil(); - handleRecurrence(); Filter filter; std::vector filtered; filter.subset(filtered); @@ -247,8 +241,6 @@ CmdCompletionUuids::CmdCompletionUuids() { //////////////////////////////////////////////////////////////////////////////// int CmdCompletionUuids::execute(std::string& output) { // Apply filter. - handleUntil(); - handleRecurrence(); Filter filter; std::vector filtered; filter.subset(filtered); @@ -283,8 +275,6 @@ CmdZshCompletionUuids::CmdZshCompletionUuids() { //////////////////////////////////////////////////////////////////////////////// int CmdZshCompletionUuids::execute(std::string& output) { // Apply filter. - handleUntil(); - handleRecurrence(); Filter filter; std::vector filtered; filter.subset(filtered);