XenForo Nav Link Search quesiton

E

ed762

Guest
I am working on creating a link to pull out posts with set prefix ID

{{ link('search/search', null, { 't': 'post', 'c[prefixes][0]': 2, 'c[users]': $xf.visitor.username, 'o': 'relevance' }) }}
Click to expand...

The output:
?c[prefixes][0]=2&c[users]=USER&o=relevance
Click to expand...
instead of:
t=post&c[prefixes][0]=2&c[users]=USER&o=relevance
Click to expand...

The "t=post" part is not coming up. Any tips as to what it is going wrong?

Continue reading...