bcgov / bcgov/STRR

BUG: when filtering by substatus, getting other substatuses showing as well

Open
#1,697 1 comment 0 reactions 0 assignees View on GitHub
STR
Dominant language
Python
Stars
2
Forks
22
Avg merge
2d 35m
Merged PRs (30d)
11

Description

**Description:** 
The 'Sub-status' column filters are showing unexpected results. For example, applying an 'Review' filter shows registrations with other sub-statuses (IN TEST):
**To Reproduce:**
1. Open the examiner dashboard in the Registration and Renewals tab
2. Clear all filter
3. Filter the Substatus column to Review (only)
4. You will see several registrations that are not of substatus 'review' returned.
image.png

**What is the expected behaviour?:**
When a sub-status filter is applied, the results should not show other sub-statuses

**Who is affected?**: 
Examiners

**How does the bug/issue affect your work as an examiner?:**
Examiners will need additional time to sift through results

## Acceptance Criteria
> Generated by [Zenhub AI](https://www.zenhub.com/ai)

### Acceptance Criteria

**Scenario: Filtering the Sub-status column by a single value**
- **Given** I am on the examiner dashboard in the "Registration and Renewals" tab
- **And** there are registrations with various sub-statuses (e.g., "Review", "Cancelled", "Set Aside")
- **When** I filter the "Sub-status" column to "Review" only
- **Then** the table should only display registrations with the sub-status "Review"
- **And** no registrations with other sub-statuses (such as "Cancelled") should be visible in the results

**Scenario: Clearing filters on the Registration and Renewals tab**
- **Given** a filter has been applied to the "Sub-status" column
- **When** I click "Clear all filters"
- **Then** the table should reset and display all registrations regardless of their sub-status

**Scenario: Filtering the Sub-status column by multiple values**
- **Given** I am on the examiner dashboard in the "Registration and Renewals" tab
- **When** I select multiple values in the "Sub-status" filter (e.g., "Review" and "Cancelled")
- **Then** the table should display all registrations that match any of the selected sub-statuses
- **And** it should exclude any registrations whose sub-status was not selected

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.