ignoreblankinputs is not supported #792

Closed
opened 2026-02-20 10:03:38 -05:00 by deekerman · 3 comments
Owner

Originally created by @scottjasso on GitHub (Feb 23, 2023).

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

In my custom cardigann yaml, the ignoreblankinputs field does not have any effect.

I have things like

  inputs:
    imdbId: "{{ .Query.IMDBIDShort }}"

And whether ignoreblankinputs is true or false, that input is included in the query params, which breaks the query.

Instead, I have to use a very long, convoluted "$raw" query with conditionals ( {{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}... repeat for each input).

Expected Behavior

ignoreblankinputs: true should mean that blank inputs are not included in the query params.

Steps To Reproduce

No response

Environment

- OS: ubuntu server 20.04
- Prowlarr: 1.1.3.2521
- Docker Install: Yes
- Using Reverse Proxy: Yes
- Browser: N/A

What branch are you running?

Develop

Trace Logs?

Not including.

Originally created by @scottjasso on GitHub (Feb 23, 2023). ### Is there an existing issue for this? - [X] I have searched the existing open and closed issues ### Current Behavior In my custom cardigann yaml, the `ignoreblankinputs` field does not have any effect. I have things like ``` inputs: imdbId: "{{ .Query.IMDBIDShort }}" ``` And whether `ignoreblankinputs` is true or false, that input is included in the query params, which breaks the query. Instead, I have to use a very long, convoluted "$raw" query with conditionals ( `{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}...` repeat for each input). ### Expected Behavior `ignoreblankinputs: true` should mean that blank inputs are not included in the query params. ### Steps To Reproduce _No response_ ### Environment ```markdown - OS: ubuntu server 20.04 - Prowlarr: 1.1.3.2521 - Docker Install: Yes - Using Reverse Proxy: Yes - Browser: N/A ``` ### What branch are you running? Develop ### Trace Logs? Not including.
Author
Owner

@scottjasso commented on GitHub (Feb 23, 2023):

I didn't include any logs since the issue is obvious from the code. Looks like this PR started to add support for it: https://github.com/Prowlarr/Prowlarr/pull/644/files
but it was never merged.

@scottjasso commented on GitHub (Feb 23, 2023): I didn't include any logs since the issue is obvious from the code. Looks like this PR started to add support for it: https://github.com/Prowlarr/Prowlarr/pull/644/files but it was never merged.
Author
Owner

@bakerboy448 commented on GitHub (Feb 23, 2023):

ignoreblankinputs was never added and the wiki page erroneously indicated it did; that has been fixed.

ignoreblankinputs is not supported by jackett and is not part of any valid Cardigann schema at this time.

for examples of how to workaround these; see any of the UNIT3D YML definitions

@bakerboy448 commented on GitHub (Feb 23, 2023): `ignoreblankinputs ` was never added and the wiki page erroneously indicated it did; [that has been fixed](https://github.com/Servarr/Wiki/commit/52b1f9e788a4767070d34a272f2b26cdb3941d64). `ignoreblankinputs` is not supported by jackett and is not part of any valid Cardigann schema at this time. for examples of how to workaround these; see any of the UNIT3D YML definitions
Author
Owner

@scottjasso commented on GitHub (Feb 23, 2023):

Thanks! I'm using the $raw conditional queries for now, and that works. Thank you for updating the wiki so quickly.
Definitely a quality-of-life feature request then. 👍

@scottjasso commented on GitHub (Feb 23, 2023): Thanks! I'm using the `$raw` conditional queries for now, and that works. Thank you for updating the wiki so quickly. Definitely a quality-of-life feature request then. 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Prowlarr#792
No description provided.