Task #65
openAdd Status Filter to “My Ads” Page
0%
Description
Enhance the “My Ads” page by adding a status-based filter that allows users to quickly view their ads by selected status. The filter should include options for All, Draft, Pending, Published, Sold, Active, and Inactive, improving usability and ad management efficiency.
Tables Used (Reference Existing)
***ads
Field Description
id (PK) Ad ID
user_id (FK users.id) Owner
title Ad title
status Draft / Pending / Published / Sold / Expired
is_active Active / Inactive
created_at Timestamp
***Validations
***Filter Logic
*Default selection: All
Status filter options:
*Draft
*Pending
*Published
*Sold
*Active (is_active = true)
*Inactive (is_active = false)
*Rejected
***System Rules
*Filter applies only to the logged-in user’s ads
*Only valid status values should be accepted (ignore or reject invalid inputs)
*Active/Inactive filter should work independently of status
*Clear filter should reset to All
*Results should update without full page reload (AJAX/API preferred)
Updated by Navyamol KB about 1 month ago
- Status changed from In Progress to Resolved