每次搜索到“所有站点”后,过滤器框(范围)都会重置。怎么阻止它? [英] Filter box (scope) resets after each search to 'All Sites'. How to stop it?

查看:85
本文介绍了每次搜索到“所有站点”后,过滤器框(范围)都会重置。怎么阻止它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们假设人们可以通过"所有网站","产品A"或"产品B"过滤搜索。如果他们使用"产品B"作为过滤器进行搜索,结果页面会显示正确的结果,但会自动将下拉框重置为"所有网站"
范围。有人可以告诉我如何阻止这种情况发生吗?如果他们在"产品B"下进行搜索,它应该保持这种状态。感谢任何帮助

解决方案

编辑页面,然后编辑搜索框Web部件。  更改搜索下拉模式,使用默认设置为"s"。参数

Let's suppose people can filter a search by 'All Sites', 'Product A', or 'Product B'. If they do a search with 'Product B' as the filter, the results page shows up with the right results, but it automatically resets the dropdown box to the 'All Sites' scope. Can somebody please tell me how to stop this from happening? If they do a search under 'Product B', it should remain that way. Any help is appreciated

解决方案

Edit the page, then edit the search box web part.  Change the search drop down mode to use the Default to "s" parameter.


这篇关于每次搜索到“所有站点”后,过滤器框(范围)都会重置。怎么阻止它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆