This commit is contained in:
@@ -403,9 +403,9 @@ def get_shouts_with_links(
|
|||||||
key=lambda shout: shout.get("stat", {}).get("views_count", 0) if isinstance(shout, dict) else 0,
|
key=lambda shout: shout.get("stat", {}).get("views_count", 0) if isinstance(shout, dict) else 0,
|
||||||
reverse=reverse_order,
|
reverse=reverse_order,
|
||||||
)
|
)
|
||||||
logger.info(f"🔎 Applied Python sorting by views_count (desc={reverse_order})")
|
# logger.info(f"🔎 Applied Python sorting by views_count (desc={reverse_order})")
|
||||||
|
|
||||||
logger.info(f"Returning {len(shouts)} shouts from get_shouts_with_links")
|
# logger.info(f"Returning {len(shouts)} shouts from get_shouts_with_links")
|
||||||
return shouts
|
return shouts
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user