Skip to content

Commit

Permalink
feat: Add default order lib v2 param
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuf-musleh committed Jun 29, 2024
1 parent c502c0c commit 6888565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/studio-home/data/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export async function getStudioHomeLibrariesV2(customParams) {
page: customParams.page || 1,
pageSize: customParams.pageSize || 50,
pagination: customParams.pagination !== undefined ? customParams.pagination : true,
order: customParams.order,
order: customParams.order || 'title',
textSearch: customParams.search,
};
const customParamsFormat = snakeCaseObject(customParamsDefaults);
Expand Down

0 comments on commit 6888565

Please sign in to comment.