Skip to content

Fix task bugs and add search filter - #24

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

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

Conversation

@GargiGogulwar

Copy link
Copy Markdown

Summary

This PR fixes the intentional bugs and implements the requested search feature.

Changes

  • Fixed status filtering on GET /tasks.
  • Fixed task completion persistence by saving updates to storage.
  • Added case-insensitive q search across task title and description.
  • Preserved existing behavior when q is omitted.
  • Ensured status and q filters work together.

Verification

  • Verified GET /tasks?status=open
  • Verified POST /tasks/{id}/complete
  • Verified GET /tasks?q=launch
  • Verified GET /tasks?q=report
  • Verified GET /tasks?status=open&q=plan

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