Project

General

Profile

Actions

Task #65

open

Add Status Filter to “My Ads” Page

Added by Dana Basheer 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
High
Assignee:
Start date:
01/29/2026
Due date:
01/29/2026 (about 3 months late)
% Done:

0%

Estimated time:

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)

Actions

Also available in: Atom PDF