Repository navigation
Fix row and page limits on unfiltered reports - #4248
Merged
djmitche merged 2 commits intoDec 2, 2026
Merged
Conversation
djmitche
reviewed
Dec 1, 2026
djmitche
left a comment
Member
There was a problem hiding this comment.
Nice fix! You are now the world-leading expert on the Taskwarrior parser ;)
djmitche
approved these changes
Dec 1, 2026
djmitche
approved these changes
Dec 2, 2026
djmitche
enabled auto-merge (squash)
December 2, 2026 22:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2675. Thanks to linuxcaffe for reporting the issue and documenting the filter workaround.
With tasks present,
task all limit:1returnsNo matches. The parser saves the limit as a display setting and builds a replacement argument list with the limit removed, but then discards that list.Use the replacement arguments before classifying filter terms. When a report's configured filter contains only a limit, skip adding parentheses that would become an empty filter expression. A command-line limit still overrides the report's default.
Validation
developand passed with the fix. It covers a numeric limit, a page limit that truncates the output, and command-line precedence over a configured limit.