Skip to content

Prepared search column filter#3354

Open
Corepex wants to merge 3 commits into2025.4from
3352-quantity-values-add-searchinput
Open

Prepared search column filter#3354
Corepex wants to merge 3 commits into2025.4from
3352-quantity-values-add-searchinput

Conversation

@Corepex
Copy link
Copy Markdown
Contributor

@Corepex Corepex commented Apr 17, 2026

Changes in this pull request

Resolves #3352
Blocked by: pimcore/studio-backend-bundle#1760

Additional info

This pull request enhances the QuantityValueContainer by adding a search functionality to filter quantity value units. It introduces a search input in the toolbar, updates the API query to support filtering, and includes the corresponding translation key.

Feature: Search Functionality for Quantity Value Units

  • Added a SearchInput component to the toolbar, allowing users to filter quantity value units by a search term. The search resets pagination to the first page and displays a loading state while fetching results. (assets/js/src/core/modules/quantity-value/quantity-value-container.tsx) [1] [2] [3]
  • Updated the API query (useUnitQuantityValueUnitsCollectionQuery) to include a columnFilters parameter when a search filter is present, enabling backend filtering of results. (assets/js/src/core/modules/quantity-value/quantity-value-container.tsx)

UI/UX Improvements

  • Adjusted the horizontal margin of the Toolbar from 'mini' to 'extra-small' for better spacing. (assets/js/src/core/modules/quantity-value/quantity-value-container.tsx)

Localization

  • Added a new translation key quantity-values.search for the search input placeholder. (translations/studio.en.yaml)

@Corepex Corepex self-assigned this Apr 17, 2026
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@xIrusux xIrusux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but lets take care of the sonar qube issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants