SharePoint 2013:在修改的日期精简程序中将默认设置为“一年前" [英] SharePoint 2013 : Setting default to 'One Year Ago' in Modified date refiner

查看:96
本文介绍了SharePoint 2013:在修改的日期精简程序中将默认设置为“一年前"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在修改后的日期精简器"中将默认值设置为一年前",我希望当用户搜索修改后的日期精简器时仅显示不超过一年的结果,而当用户要明确看到旧结果时,他/她可以选择 全部"条形图优化程序中的选项.

我能够做到这一点,但是可以通过调用AjaxControlToolkit.SliderRefinementControl.FindAndSetSliderHandlesAndValuesToRange(ctx.RefinementControl.containerId,1,5,this); 

Prasad Pathak

解决方案

谢谢您的发帖.

这是一条简短的说明,旨在让您知道我们正在对此问题进行研究.

最佳问候

Lee


Hi,

I wanted to set the default to 'One Year Ago' in Modified date refiner, I want that when user searches modified date refiner should show only results not older than one year, and when user wants to explicitly see the old result then he/she can select the 'All" option in the bar chart refiner.

 

I am able to do this but by calling AjaxControlToolkit.SliderRefinementControl.FindAndSetSliderHandlesAndValuesToRange(ctx.RefinementControl.containerId, 1, 5, this); 

in 'Filter_SliderBarGraph.html' but the problem is that 'Filter_SliderBarGraph.html' is gatting called only once, initially.

After that if we change the search term and press search button in search box it is again showing 'All' option in the Modified date filter.

I observed that though we have selected 'Filter_SliderBarGraph.html' this refiner template for 'Date Modified' refiner but it is not getting called always unlikely Filter_Default gets called always.

Please help me to understand the issue or  the solution to my requirement.

BR,

Prasad Pathak

解决方案

Hi,

Thank you for your post.

This is a quick note to let you know that we are performing research on this issue.

 

Best Regards,

Lee


这篇关于SharePoint 2013:在修改的日期精简程序中将默认设置为“一年前"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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