Skip to content

Added api filter to table#3324

Open
Corepex wants to merge 2 commits into2025.4from
3105-quantity-values---sorting-only-works-on-active-page
Open

Added api filter to table#3324
Corepex wants to merge 2 commits into2025.4from
3105-quantity-values---sorting-only-works-on-active-page

Conversation

@Corepex
Copy link
Copy Markdown
Contributor

@Corepex Corepex commented Apr 9, 2026

Changes in this pull request

Resolves #3105

Additional info

This pull request enhances the Quantity Value Units table by adding server-side sorting and search functionality, and improves cache invalidation for more consistent data updates. The changes are primarily focused on improving the user experience when interacting with the table and ensuring that displayed data stays up-to-date after mutations.

Table Filtering and Sorting Improvements:

  • Added a search input and server-side filtering to the QuantityValueContainer, allowing users to filter quantity value units by keyword. The filter is sent to the backend and resets pagination on change. [1] [2]
  • Implemented server-side sorting: table sorting state is now managed in the container, mapped to backend sort keys, and sent as part of the query. The table disables sorting for certain columns and supports manual sorting mode. [1] [2] [3] [4] [5] [6] [7]

API and Data Consistency:

  • Improved cache invalidation by updating the invalidatesTags and providesTags logic for create, update, and delete endpoints in unit-slice-enhanced.ts, ensuring the data is refreshed after mutations. [1] [2]

These changes collectively provide a more robust and user-friendly interface for managing quantity value units, with accurate and up-to-date data reflecting user actions.

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

sonarqubecloud bot commented Apr 9, 2026

@Corepex Corepex requested a review from xIrusux April 9, 2026 09:05
@Corepex Corepex linked an issue Apr 10, 2026 that may be closed by this pull request
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.

[Quantity values] - sorting only works on active page

1 participant