Skip to content

Conversation

@Artuomka
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 21, 2026 16:03
@Artuomka Artuomka merged commit 432477c into main Jan 21, 2026
12 checks passed
@Artuomka Artuomka deleted the backend_table_settings_rework branch January 21, 2026 16:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds support for four new parameters in the table settings update endpoint: list_per_page, list_fields, ordering, and ordering_field. These parameters enable clients to configure pagination, field selection, and sorting behavior for table data.

Changes:

  • Added four new @Body parameters to the updateSettings method in the table settings controller
  • Added the new parameters to the inputData object that's passed to the use case

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Body('allow_csv_import') allow_csv_import: boolean,
@Body('list_per_page') list_per_page: number,
@Body('list_fields') list_fields: string[],
@Body('ordering') ordering: string,
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

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

The ordering parameter is declared as string, but based on the entity definition and usage in the codebase, it should be typed as QueryOrderingEnum | null. The entity uses QueryOrderingEnum (which has values 'ASC' or 'DESC'), and the data structure also defines it as optional. Consider updating the type to ensure type safety and consistency with the rest of the codebase.

Copilot uses AI. Check for mistakes.
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