cutespotify icon indicating copy to clipboard operation
cutespotify copied to clipboard

Broken search?

Open lukedirtwalker opened this issue 9 years ago • 3 comments

http://talk.maemo.org/showpost.php?p=1461748&postcount=297

lukedirtwalker avatar Apr 11 '15 13:04 lukedirtwalker

It seems to me that search breaks when you enter a space in the search field. Search keeps giving results as long as you just type everything together without spaces.

edit: oh, sorry, didn't realise this was an old bug. Search broke for me recently and I was thinking of that.

hetas avatar Apr 03 '17 15:04 hetas

Hi, search text seems to be trimmed hence the need for typing it all together:

https://github.com/lukedirtwalker/cutespotify/blob/16812522a6c087c645008705d02ffd02e6e3c6e6/qml/SearchPage.qml#L35

joonne avatar Jan 19 '18 17:01 joonne

Search doesn't work for me if I the search term has spaces in it. Trim only removes whitespace from the ends of the string so I don't think that makes a difference.

I'd guess that the search term isn't url-encoded and it needs to be. Replacing spaces with '+' might do the trick.

hetas avatar Jan 20 '18 07:01 hetas