Network error on search function, or search function not working on certain conditions

This happens on the website and on the Astiga phone app, but it shows differently.

Phone:

I tried to search for a song using the search function. This are two strings I tried to use in the search:

I also get this "error" response randomly when trying to search.

The search string: "my name on", provides my with the song I am searching for. The song is called "a bullet w- my name on"

On the Website it's different. I don't get an error. I just don't get any results. (when trying "a bullet")


Might it be due to the search string starting with one letter and a space after? I think it might also have do to with searching for a string or song I don't have in my library or cloud; which should return an empty page with no songs instead of an error.

Comments

  • gravelldgravelld Administrator

    We've recreated both of these issues - they are different.

    The query with the slash is because we're not correctly escaping that character.

    The query with just "a bullet" is because there's a bug where, if nothing matches, an error occurs. I guess the next problem is "why doesn't it match" but that's more likely to be something to do with the search algorithm, which we can look into later.

  • gravelldgravelld Administrator

    We should've fixed the errors now: https://community.asti.ga/discussion/comment/4072/#Comment_4072

    But note that the search query itself with the shorter words still doesn't work.

Sign In or Register to comment.