Ordering suggested channel names by video count.

This commit is contained in:
Roland 2024-04-16 10:04:06 -06:00
parent 969a065a6c
commit 7669cfe361
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
3 changed files with 40 additions and 25 deletions

View file

@ -544,7 +544,7 @@ async def post_search_suggestions(_: Request, body: schema.SearchFileEstimateReq
from modules.archive.lib import search_domains_by_name
channels, domains = await asyncio.gather(
search_channels_by_name(body.search_str),
search_channels_by_name(body.search_str, order_by_video_count=True),
search_domains_by_name(body.search_str),
)