fix(StorePage): fix sorting order in API request to use "downloads" instead of "liked_by" for popular pages
The sorting order in the API request for popular pages was using the "liked_by" field instead of the correct "downloads" field. This commit fixes the sorting order to use the correct field, ensuring that popular pages are sorted based on the number of downloads.
This commit is contained in:
parent
66972ad489
commit
83bb20d8f3
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ export default function StorePage(): JSX.Element {
|
|||
pageIndex,
|
||||
pageSize,
|
||||
tabActive === "All" ? null : tabActive === "Flows" ? false : true,
|
||||
pageOrder === "Popular" ? "-count(liked_by)" : "name",
|
||||
pageOrder === "Popular" ? "-count(downloads)" : "name",
|
||||
filteredCategories,
|
||||
null,
|
||||
null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue