mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Updated sorting in the recommendations settings (#18560)
closes https://github.com/TryGhost/Product/issues/4020 - show most recently created recommendations first
This commit is contained in:
parent
17c0e3ee60
commit
9e51a8be88
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ const Recommendations: React.FC<{ keywords: string[] }> = ({keywords}) => {
|
|||
const {data: {meta: recommendationsMeta, recommendations} = {}, isLoading: areRecommendationsLoading, hasNextPage, fetchNextPage} = useBrowseRecommendations({
|
||||
searchParams: {
|
||||
include: 'count.clicks,count.subscribers',
|
||||
order: 'count.subscribers desc, count.clicks desc, created_at desc',
|
||||
order: 'created_at desc',
|
||||
limit: '5'
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue