{
let url = '/streaming/';
if (url.slice(-1) == '/') {
url = url.slice(0, -1);
}
let params = 'genre/Horror';
url += '/' + params;
if (value) {
url += '/search/' + value;
}
console.log(url + '/');
window.location.href = url + '/';
}"
>
{
let url = '/streaming/genre/Horror/';
if (url.slice(-1) == '/') {
url = url.slice(0, -1);
}
if (value) {
url += '/sort/' + value;
}
window.location.href = url + '/';
}"
>