title: SharePoint 2013 list search box and Client Site Rendering (JSLink)
body: <p>Im trying to implement a FAQ accordion SharePoint list.
  I managed to get the accordion working while using JSLink.
  Sadly the search is not working properly.
  I used the following code in my JSLink js:</p>
  
  <pre><code>(function () {
  /*
   * Initialize the variable that store the overrides objects.
   */
  var overrideCtx = {};
  overrideCtx.Templates = {
      Header: function(ctx) {
              var headerHtml =  RenderTableHeader(ctx);
              headerHtml += "&lt;/table&gt;";
              headerHtml += "&lt;div id='accordion'&gt;";
              return headerHtml;
          },
      Footer: function (ctx) {
          return "&lt;/div&gt;";
                          },
      Item: function(ctx) {
          // Build a listitem entry for every announcement in the list.
          var ret = "&lt;h3 class='OutlookFAQ'&gt;"+ctx.CurrentItem.Title+"&lt;/h3&gt;&lt;div style='display:none;' class='OutlookFAQContent'&gt;&lt;p&gt;"+ctx.CurrentItem.Answer+"&lt;/p&gt;&lt;/div&gt;";
          return ret;
      }
  
  };
  
  
  overrideCtx.BaseViewID = 1;
  overrideCtx.ListTemplateType = 100;
  
  
  
  overrideCtx.OnPostRender = [];
  overrideCtx.OnPostRender.push(function()
  {
      $('#accordion h3').click(function(e) {
              $(e.target).next('div').siblings('div').slideUp();
              $(e.target).next('div').slideToggle();
      });
  });
  
  SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
  
  })();
  </code></pre>
  
  <p>As i sad, the accordion is working, the searchbox is beeing display. If I try to submit search a JS Error "TypeError: this.$T_3 is null" in sp.ui.listsearchbox.js pops up.
  Any ideas?</p>
  
  <p>Regards</p>
  
  <p>René</p>