Tags with spaces

Thanks for the info that tags with spaces usually work in kirby!

That brought me to looking into the template files of my applied theme. There the author forgot to use urldecode(). I just added it and now it works fine:

/* Filter by tag, if needed */
if(param('tag', false)) {
    $posts = $posts->filterBy('tags', urldecode(param('tag')), ',');
}

Thanks again for your help!

1 Like