Skip to content

Fix task bugs and add search filter - #7

Open
krishnad2000 wants to merge 1 commit into
pavlinhristov:mainfrom
krishnad2000:codex/lab-fixes
Open

Fix task bugs and add search filter#7
krishnad2000 wants to merge 1 commit into
pavlinhristov:mainfrom
krishnad2000:codex/lab-fixes

Conversation

@krishnad2000

Copy link
Copy Markdown

Summary

  • fix the GET /tasks status filter to use the provided status value
  • persist task completion through the JSON storage layer
  • add case-insensitive q filtering across title and description
  • keep data/tasks.json restored so the PR only contains code changes

Verification

  • GET /tasks?status=open returns only open tasks
  • GET /tasks?status=done returns only done tasks
  • POST /tasks/1/complete followed by GET /tasks/1 shows persistence
  • GET /tasks?q=WORKSHOP, GET /tasks?q=oauth, and GET /tasks?status=open&q=launch return the expected matches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant