Skip to content

Library: fix search with date argument#48

Merged
jodal merged 1 commit intomopidy:mainfrom
tobast:tobast/fix_query_nonstring
Nov 13, 2025
Merged

Library: fix search with date argument#48
jodal merged 1 commit intomopidy:mainfrom
tobast:tobast/fix_query_nonstring

Conversation

@tobast
Copy link
Contributor

@tobast tobast commented Nov 12, 2025

If a query was made for eg. date: 2025, date parsing would add ('year', 2025) to search_list, 2025 being an integer. The uri generation later would fail trying to '='.join(('year', 2025)) as join needs an iterable of strings.

If a query was made for eg. `date: 2025`, date parsing would add `('year',
2025)` to `search_list`, 2025 being an integer. The uri generation later
would fail trying to `'='.join(('year', 2025))` as join needs an
iterable of strings.
@tobast tobast force-pushed the tobast/fix_query_nonstring branch from fd27c98 to 1138ee9 Compare November 12, 2025 07:25
@jodal
Copy link
Member

jodal commented Nov 13, 2025

This looks reasonable. Thanks!

@jodal jodal merged commit b391ede into mopidy:main Nov 13, 2025
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants