Trouble filtering dataset using url query parameter

Simply because your setFilter function is in onReady(run ONLY 1 time).

After you redirect the same page, the code won’t run again, so, please redirect the user using the code, then run the setFilter again.