Waldemar's avatar

Slug %5

Hello! I have a filter for products by brands

<li><input type="checkbox" name="brands[]" value="{{ $producer->id }}"> {{ $producer->title }}</li>

if i am sorting products i have a url

?brands%5B%5D=8

can i change to

?brands=8
0 likes
1 reply
mikevrind's avatar

Based on the provided information I would s suggest to change the name of the input to just "brand", without the square brackets.

1 like

Please or to participate in this conversation.