<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why search is not triggered when drop-down value is changed in Django template? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-search-is-not-triggered-when-drop-down-value-is-changed-in/m-p/194012#M12112</link>
    <description>&lt;P&gt;Thank you..&lt;/P&gt;</description>
    <pubDate>Mon, 25 Aug 2014 15:18:23 GMT</pubDate>
    <dc:creator>pradeepkumarg</dc:creator>
    <dc:date>2014-08-25T15:18:23Z</dc:date>
    <item>
      <title>Why search is not triggered when drop-down value is changed in Django template?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-search-is-not-triggered-when-drop-down-value-is-changed-in/m-p/194010#M12110</link>
      <description>&lt;P&gt;Here is my drop-down&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
            var nextday = new DropdownView({&lt;BR /&gt;
                    id: "nextday",&lt;BR /&gt;
                    labelField: "nextday",&lt;BR /&gt;
                    valueField: "nextday",&lt;BR /&gt;
                     selectFirstChoice: true,&lt;BR /&gt;
                    value: mvc.tokenSafe("$nextday$"),&lt;BR /&gt;
                    el: $("#nextdaydiv")&lt;BR /&gt;
            }).render();&lt;/PRE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        var nextDayChoices = [
            {label: "N",  value: "N" },
            {label: "Y",  value: "Y" },
        ];
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;And below is my query&lt;/P&gt;

&lt;PRE&gt;
{% searchmanager id="simplesearch" search="index=my_index sourcetype=my_sourcetype | search nextday=$nextday$" cache=False%}
&lt;/PRE&gt;

&lt;P&gt;When I change my drop-down value, the above search is not being triggered. What am I doing wrong here?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 14:16:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-search-is-not-triggered-when-drop-down-value-is-changed-in/m-p/194010#M12110</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2014-08-25T14:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why search is not triggered when drop-down value is changed in Django template?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-search-is-not-triggered-when-drop-down-value-is-changed-in/m-p/194011#M12111</link>
      <description>&lt;P&gt;There is a |token_safe missing after the end of your search in the searchmanager.&lt;/P&gt;

&lt;P&gt;See here for examples: &lt;A href="http://dev.splunk.com/view/SP-CAAAEWY"&gt;http://dev.splunk.com/view/SP-CAAAEWY&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 15:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-search-is-not-triggered-when-drop-down-value-is-changed-in/m-p/194011#M12111</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2014-08-25T15:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why search is not triggered when drop-down value is changed in Django template?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-search-is-not-triggered-when-drop-down-value-is-changed-in/m-p/194012#M12112</link>
      <description>&lt;P&gt;Thank you..&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 15:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-search-is-not-triggered-when-drop-down-value-is-changed-in/m-p/194012#M12112</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2014-08-25T15:18:23Z</dc:date>
    </item>
  </channel>
</rss>

