Skip to content

Commit

Permalink
fix: correct query merging order in BaseModelTable component
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed Jan 13, 2025
1 parent fb5646e commit fc0869d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Common/UI/Components/ModelTable/BaseModelTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,8 @@ const BaseModelTable: <TBaseModel extends BaseModel | AnalyticsBaseModel>(
| DatabaseBaseModelType
| AnalyticsBaseModelType,
query: {
...query,
...props.query,
...query,
},
limit: LIMIT_PER_PROJECT,
skip: 0,
Expand Down Expand Up @@ -700,8 +700,8 @@ const BaseModelTable: <TBaseModel extends BaseModel | AnalyticsBaseModel>(
| DatabaseBaseModelType
| AnalyticsBaseModelType,
query: {
...query,
...props.query,
...query,
},
groupBy: {
...props.groupBy,
Expand Down

0 comments on commit fc0869d

Please sign in to comment.