mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-02 20:59:56 -05:00
Ordering suggested channel names by video count.
This commit is contained in:
parent
969a065a6c
commit
7669cfe361
3 changed files with 40 additions and 25 deletions
|
|
@ -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),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue