cutespotify
cutespotify copied to clipboard
Broken search?
http://talk.maemo.org/showpost.php?p=1461748&postcount=297
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.
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
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.