Working with the DateTime module I'd like to have a default earliest value of today. I've tried this:
I've set the default time first in ValueSetter module to pass down to the DateTime module. Setting earliest in the first ValueSetter module doesn't seem to flow down to the DateTime, then down to the second ValueSetter, then to the Search Module. The first ValueSetter doesn't seem to have any impact.
If I set earliest in the second ValueSetter module, that'll work in replacing searching across all time, but when I select another earliest date from the DateTime Module, it doesn't overwrite the earliest value in the second ValueSetter before pushing that value down to the Search Module. Here's the XML:
<view isSticky="False" isVisible="true" onunloadCancelJobs="true" template="dashboard.html">
<label>Skunk Works</label>
<module name="AccountBar" layoutPanel="appHeader" />
<module name="AppBar" layoutPanel="appHeader" />
<module name="SideviewUtils" layoutPanel="appHeader" />
<module name="Message" layoutPanel="messaging">
<param name="filter">*</param>
<param name="maxSize">2</param>
<param name="clearOnJobDispatch">False</param>
</module>
<module name="HTML" layoutPanel="viewHeader">
<param name="html"><![CDATA[
<h1>Skunk Works</h1>
]]></param>
</module>
<module name="DateTime" layoutPanel="panel_row1_col1" autoRun="True">
<param name="showTimepicker">False</param>
<param name="name">earliest</param>
<param name="label">Select Start Day</param>
<module name="ValueSetter">
<param name="value">now</param>
<param name="name">search.timeRange.earliest</param>
<module name="Search">
<param name="search">
search...
</param>
<param name="search"><![CDATA[
search...</param>
<module name="HTML">
<param name="html"><![CDATA[
Tokens by Status, Assignment & Domain: $search.timeRange.label$]]></param>
</module>
<module name="HiddenChartFormatter">
<param name="charting.chart.showDataLabels">all</param>
<param name="charting.axisY.scale">log</param>
<param name="charting.axisY.scale">log</param>
<module name="JSChart">
<param name="height">550</param>
</module>
</module>
</module>
</module>
</module>
</view>
Is there any way to set a start earliest value so the search doesn't execute across all time?
Mark
... View more