#41 resultsdb search doesn't seem to match "release" in item search
Closed: Duplicate None Opened 9 years ago by kparal.

I wanted to list all .fc21 packages recently tested with resultsdb. So I searched for this:
http://taskotron-dev.fedoraproject.org/resultsdb/results?item:like=%fc21%

The query seems to search in item, and fc21 should be a part of NVR, so I assumed it would match. But it returns nothing.
Why is that? Is this a bug or am I doing something wrong?


This is not really a bug in resultsdb, but in the search box implementation - it does not encode the % symbol in url, so %fc21% is interpreted like ü21%, which obviously matches nothing :)

Patch is fairly simple using jQuery's encodeURI() method http://www.w3schools.com/jsref/jsref_encodeuri.asp

OK, so it's just my fault when creating that URL.

Closing as dupe of #460, let's continue the implementation there.

Login to comment on this ticket.

Metadata