Search field: Select the content type you are looking at.

Alfa1

Well-known member
#1
When you are looking at a content type like resources, media, etc, then the search field should preselect to search this content type.
When you are looking at a forum or category overview, then the search field should preselect that forum or category.
If you are looking at an Item/thread then you are likely to have found what you are looking for and a new search may not relate to the same category or content type. There it would be logical to have it preselect 'everywhere'.

Currently it looks like this. 'Everywhere' is always selected.
.jpg


Look at Google which is the king of Search: When you are looking at Google News, your search results will not go back to Google main search (web).

Please consider to add admincp settings so that admins can decide themselves.
 

AndyB

Well-known member
#2
Tabs should dictate the search area. Perhaps the best solution would be to eliminate the drop down altogether and rename the Search title to Search resources.

1504371506152.png

When the Resource tab is selected the search would logically be to search Resources.

If I want to search forums I will click the Forums tab.
 

DroidOne

Well-known member
#3
When you are looking at a content type like resources, media, etc, then the search field should preselect to search this content type.
When you are looking at a forum or category overview, then the search field should preselect that forum or category.
If you are looking at an Item/thread then you are likely to have found what you are looking for and a new search may not relate to the same category or content type. There it would be logical to have it preselect 'everywhere'.

Currently it looks like this. 'Everywhere' is always selected.
View attachment 156777


Look at Google which is the king of Search: When you are looking at Google News, your search results will not go back to Google main search (web).

Please consider to add admincp settings so that admins can decide themselves.
Yes, this bothers us too. It should be defined by a global setting somewhere, so that board owners or even users can decide on the default behavior.

I'm betting a large portion of users would prefer for the default behavior to be "search this thread" or "search this forum". while broswing a certain thread or a certain forum.

This is standard behavior on sites such as Reddit also.
 
Last edited:

Mouth

Well-known member
#4
Recently starting to play with XF2 search, and I agree this change is not only counter productive, counter intuitive, and against the general UIX of search across the internet. For sites with small amount of content, it may work, but for sites with lots of content - both core and 3rd party - it just makes it harder, more effort, and more confusing, to find what you're looking for.
 
#5
Could having search return results specific to the currently viewed content type, followed by a general search for all other types excluding the viewed content type be the ultimate solution? This would reduce the chances of not finding any matching results, while still preferencing the content type selected.

For instance, lets say you searched for "Calendar" while looking within the XFRM area, to see a list of resources (addons, translations, whatever), followed by matching content from all other content types except resources:
XenForo-2-search-results-group-by-content-type-mock-up.jpg

Something else is staring me in the face though... on XF2 search result screens there is basically no indication of where a search is fetching items from except in the browser address bar with &t=[content_type]. At the very least this should be addressed... something like as follows perhaps, inspired by the existing what's new filters. Clicking the "Limited to: Resources" link should ultimately perform the search again but remove the content type restriction and any associated content-specific parameters (e.g. resource category, prefix).
XenForo-2-search-results-everywhere-filter-mock-up.jpg
 
Last edited:

Mouth

Well-known member
#6
Could having search return results specific to the currently viewed content type, followed by a general search for all other types excluding the viewed content type be the ultimate solution?
Perhaps, but quite a different suggestion than OP. Probably best if you start a new thread for your suggesstion - both are great, and deserve to stand alone.
 
Top