Project

General

Profile

Actions

User Story #698

open

EPIC #670: Package Catalogue Management - 2 days front end and 2 days backend

Feature #696: Common UI Components

Backend - Generic Search & Filter Service

Added by Islam Mansoori about 1 month ago.

Status:
To Do
Priority:
low
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

As the platform,

I want to support configurable searching and filtering for all management modules,

So that users receive accurate and consistent search results regardless of the module they are using.


Business Rules

Every searchable module shall use the same search behaviour.

Every filter shall only return matching records.

Search and filters shall work together.


Functional Requirements

1. Search

The system shall support searching using one or more configured fields.

Examples

Country

  • Country Name

Supplier

  • Supplier Name
  • Company Name

Package

  • Package Name
  • Destination

Partner

  • Company Name

2. Search Behaviour

The system shall

  • Ignore uppercase and lowercase differences.
  • Ignore leading and trailing spaces.
  • Support partial text matching.

3. Multiple Filters

The system shall support applying multiple filters simultaneously.

Only records satisfying all selected filters shall be returned.


4. Default Filter

If no filter is selected,

The system shall use the default filter configured by the module.


5. Reset Filters

When filters are cleared,

The complete dataset shall be returned.


6. Empty Result

If no records match,

Return an empty result.


7. Unsupported Filter

If an unsupported filter is requested,

Display

The selected filter is not supported.


8. Invalid Filter Value

Display

The selected filter value is invalid.


9. Performance

The component shall support searching and filtering efficiently even when the module contains a large number of records.

Users should experience minimal delay while retrieving search results.


Acceptance Criteria

Scenario 1

Given search text,

When matching records exist,

Then matching records are returned.


Scenario 2

Given multiple filters,

When matching records exist,

Then only matching records are returned.


Scenario 3

Given search text and filters,

When both are applied,

Then only records satisfying all criteria are returned.


Scenario 4

Given filters are reset,

When search executes,

Then all records are returned.


Scenario 5

Given no matching records,

When search completes,

Then an empty result is returned.


In Scope

  • Generic Search
  • Generic Filters
  • Multiple Filters
  • Combined Search & Filter
  • Empty Results
  • Configurable Search Fields
  • Configurable Filter Fields

Out of Scope

  • Sorting
  • Pagination
  • Export
  • Saved Filters
  • Advanced Search Builder
  • AI Search

No data to display

Actions

Also available in: Atom PDF