Project

General

Profile

Actions

Bug #338

open

Assign Therapy filter returns empty results for multiple valid filter combinations in Wellness Center Admin → History

Added by Mrinmoy Kakoti 26 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Functional
Start date:
02/18/2026
Due date:
% Done:

0%

Estimated time:

Description

Environment

  • App: CalmSync iOS
  • Build: 1.90
  • Device: iPhone
  • API: cs.api.stage.basilhealth.us (Stage)
  • Module: Wellness Center Admin → History → Assign Therapy

Description
In the Wellness Center Admin account, when navigating to History → Assign Therapy, the therapy list filtering is inconsistent.
Some filter combinations return therapies correctly, while multiple valid filter combinations return empty JSON responses, even though therapies are expected to exist.
This is blocking the admin from assigning therapies using filters.

Steps to Reproduce

  1. Login with Wellness Center Admin account
  2. Navigate to History section
  3. Click Assign Therapy (when no therapy is assigned)
  4. Open therapy filters and apply combinations listed below
  5. Observe API responses

Working API Calls (Therapies returned)
Request 1

GET /api/therapies/filteredSearch?category=-&country=-&language=-&type=-
Request 2

GET /api/therapies/filteredSearch?category=-&country=India&language=English%20(US)&type=Video

Failing API Calls (Empty JSON Response)
Request 1
**
GET /api/therapies/filteredSearch?category=-&country=India&language=Hindi&type=Video**
Request 2

GET /api/therapies/filteredSearch?category=Journaling&country=India&language=Hindi&type=-
Request 3

GET /api/therapies/filteredSearch?category=Journaling&country=India&language=English%20(US)&type=-
Request 4

GET /api/therapies/filteredSearch?category=Meditative_Music&country=India&language=English%20(US)&type=-
Request 5

GET /api/therapies/filteredSearch?category=Storytelling&country=India&language=English%20(US)&type=-

Expected Result
Therapies should be returned for valid combinations of:

  • Category
  • Country (India)
  • Language (Hindi / English US)
  • Type (Video / All)
    Admin should be able to assign therapies using filters.

Actual Result
API returns empty JSON response for several valid filter combinations, resulting in no therapies displayed in the UI.

No data to display

Actions

Also available in: Atom PDF