add exact matching option
This commit is contained in:
parent
c823c51721
commit
1038b4eaff
2 changed files with 7 additions and 4 deletions
|
|
@ -86,6 +86,7 @@ async def ratings(request):
|
|||
rows = await find_ratings(
|
||||
title=params.get("title"),
|
||||
media_type=params.get("media_type"),
|
||||
exact=truthy(params.get("exact")),
|
||||
ignore_tv_episodes=truthy(params.get("ignore_tv_episodes")),
|
||||
include_unrated=truthy(params.get("include_unrated")),
|
||||
yearcomp=yearcomp(params["year"]) if "year" in params else None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue