The block problem kinda worked. If you add that code you will only see 1 download even if you have more in database.
But solved it by adding the line a little higher up in search.php.
Nice catch!
I was testing only with one download entry, so of course I couldn't see it. Thanks for the testing and feedback.
To which line do you move the Smarty variable clearing, so I don't have to test it anymore?

















