Skip to content

Commit

Permalink
fix: add ordering of questions to collator
Browse files Browse the repository at this point in the history
  • Loading branch information
drodil committed Jan 17, 2024
1 parent 553d85a commit 6dab457
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export class DefaultQetaCollatorFactory implements DocumentCollatorFactory {
const params = new URLSearchParams();
params.append('includeAnswers', 'true');
params.append('includeComments', 'true');
params.append('orderBy', 'created');
params.append('order', 'asc');
params.append('limit', '50');
params.append('offset', indexedQuestions.toString(10));
const response = await fetch(
Expand Down

0 comments on commit 6dab457

Please sign in to comment.