Append field content in another field

Next step : double filtering with official AND secret tags ^^

Either way is fine. It normally makes sense to use “URL-friendly” tags so that the URLs are readable (e.g. when putting a link to the filter results page somewhere). So use whatever makes sense for you.

I have already explained this above and posted example code that should be working.

yep thanks the code works but I couldn’t understand my mistake even with your explanations, but it’s ok now.

The thing that’s bugged me is tha I didn’t realise at first that you can’t encode/decode slugs like you can with urldecode/urlencode wich works “out of the box”

Thank you for your explanations.

The main difference is that urlencode works symmetrically. The encoded form contains all the necessary information to decode the text again.
str::slug on the other hand is not symmetric. It converts everything to lowercase and replaces invalid characters with dashes, accents to the “basic” ASCII letters. All that is lost and can’t be restored just from the sluggified version.

Yep, I realised that later. Thanks.