Homepage: increase random featured assets to six.
This commit is contained in:
@@ -266,7 +266,7 @@ def get_random_featured_nodes() -> typing.List[dict]:
|
||||
'summary': True,
|
||||
'picture_square': True}},
|
||||
{'$unwind': {'path': '$nodes_featured'}},
|
||||
{'$sample': {'size': 3}},
|
||||
{'$sample': {'size': 6}},
|
||||
{'$lookup': {'from': 'nodes',
|
||||
'localField': 'nodes_featured',
|
||||
'foreignField': '_id',
|
||||
|
Reference in New Issue
Block a user