Topic on Project:Support desk

InputBox extension search only category?

11
AmazingTrans (talkcontribs)

Hi there,

I have a search inputbox. is it possible to limit the search only to category ?

NeedAGoodUsername (talkcontribs)
AmazingTrans (talkcontribs)

Hmm, but i would want to search in specific category such as: State category, rather than entire namespace.

NeedAGoodUsername (talkcontribs)

I guess you would set the name space to a category and then say which one.

This post was hidden by 87.123.63.181 (history)
This post was hidden by 87.123.63.181 (history)
This post was hidden by 87.123.63.181 (history)
AmazingTrans (talkcontribs)

So, do you mean i have to create additional namespace call Namespace:State then link it to category:State ?

37.157.250.213 (talkcontribs)

Hi,

I need that option too.

Creating namesspaces would blow our namespace management

AhmadF.Cheema (talkcontribs)

If Extension:CirrusSearch is installed, this can be done by making use of the incategory parameter.

The following should work:

<inputbox>
type=search
searchfilter=incategory:Category_name
</inputbox>
Megajoule (talkcontribs)

A big UP for this request.

Reply to "InputBox extension search only category?"