Skip to content

Commit

Permalink
Pass sort to the backend on uittreksels publication table (#394)
Browse files Browse the repository at this point in the history
* Pass sort to the backend on uittreksels publication table

* pass also pagination params

(cherry picked from commit 8f3754c)
  • Loading branch information
lagartoverde authored and abeforgit committed Dec 21, 2022
1 parent b561a8c commit 9e04ae4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/routes/meetings/publish/uittreksels/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export default class MeetingsPublishUittrekselsRoute extends Route {
const query = {
include: 'behandeling.versioned-behandeling',
filter: { zitting: { ':id:': this.meetingId } },
sort: params.sort,
page: {
size: params.size,
number: params.page,
},
};

if (params.title && params.title.length > 0) {
Expand Down

0 comments on commit 9e04ae4

Please sign in to comment.