Tribler / tribler

Privacy enhanced BitTorrent client with P2P content discovery
https://www.tribler.org
GNU General Public License v3.0
4.74k stars 445 forks source link

`SearchResultsModel` performs queries without text #7973

Open qstokkink opened 2 months ago

qstokkink commented 2 months ago

[This issue is reposted from the Tribler Experimental fork and seems to be applicable to the main branch. It is worth investigating if this can be reproduced on main.]

The SearchResultsModel does not call its super with a text_filter. This caused local searches to essentially return 200 random torrents.

The fix that worked on the experimental fork was the following:

Fix