Skip to content

Commit

Permalink
improve load of possible-participants table
Browse files Browse the repository at this point in the history
  • Loading branch information
elpoelma committed Aug 27, 2024
1 parent e500a25 commit 91ed23d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thin-hotels-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend-gelinkt-notuleren': minor
---

(meeting-form) adjust possible-participants query to include additional relationships to avoid patchy load of mandatee-table
8 changes: 7 additions & 1 deletion app/components/meeting-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,13 @@ export default class MeetingForm extends Component {
const startOfMeeting =
this.zitting.gestartOpTijdstip ?? this.zitting.geplandeStart;
let queryParams = {
include: 'is-bestuurlijke-alias-van,status',
include: [
'is-bestuurlijke-alias-van',
'is-bestuurlijke-alias-van.geboorte',
'status',
'bekleedt',
'bekleedt.bestuursfunctie',
].join(','),
sort: 'is-bestuurlijke-alias-van.achternaam',
filter: {
bekleedt: {
Expand Down

0 comments on commit 91ed23d

Please sign in to comment.