Nav Link Search quesiton

Status
This content is read-only, or is not open for further replies.

ed762

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom