title: primefaces dataTable filtering issue
body: <p>I used primefaces 3.4RC1 for develop a data table with filtering by following this <a href="http://www.primefaces.org/showcase-labs/ui/datatableFiltering.jsf" rel="nofollow">http://www.primefaces.org/showcase-labs/ui/datatableFiltering.jsf</a>. But I have some issue.After filtering some thing it gives the records repeatedly.for an example if there is only one record,it repeats 5 times and if there are 2 records it repeats 10 times. What is the reason for that issue?</p>
  
  <pre><code>&lt;p:dataTable id="tableList" var="tablevar" value="#{tableBean.table}"
          style="font-size: 12px; width:1310px;" widgetVar="carsTable" 
          emptyMessage="No recode found with given criteria" filteredValue="#{tableBean.filteredCars }"
          scrollable="true" scrollHeight="450" resizableColumns="flase"&gt;
  
      &lt;f:facet name="header"&gt;
          &lt;p:outputPanel style="display:block; text-align:right"&gt; 
              &lt;h:outputText value="Search all fields:"/&gt;  
              &lt;p:inputText id="globalFilter" onkeyup="carsTable.filter()" style="width:150px" /&gt;
          &lt;/p:outputPanel&gt;
     &lt;/f:facet&gt;
  
      &lt;p:column  headerText="ID" width="50"&gt;
          &lt;h:outputText value="#{tablevar.id}" style="font: medium "/&gt;
      &lt;/p:column&gt;
      &lt;p:column  headerText="Country" width="50" filterBy="#{tablevar.country}" filterMatchMode="contains"&gt;
          &lt;h:outputText value="#{tablevar.country}" style="font: medium"/&gt;
      &lt;/p:column&gt;
      &lt;p:column  headerText="Country Code" width="50" filterBy="#{tablevar.country_code}" filterMatchMode="contains"&gt;
          &lt;h:outputText value="#{tablevar.country_code}" style="font: medium "/&gt;
      &lt;/p:column&gt;
      &lt;p:column  headerText="MGT" width="50" filterBy="#{tablevar.MGT}" filterMatchMode="contains"&gt;
          &lt;h:outputText value="#{tablevar.MGT}" style="font: medium "/&gt;
      &lt;/p:column&gt;
  
      &lt;f:facet name="footer" id="foot"&gt;
          &lt;h:panelGrid columns="8" cellpadding="5"   id="pane" &gt;
              &lt;h:outputLabel  value="Country" /&gt;
              &lt;p:inputText value="#{tableBean.c_country}"  id="country" required="false" label="country" /&gt;
              &lt;h:outputLabel  value="Country_Code" /&gt;
              &lt;p:inputText value="#{tableBean.c_country_code}"  id="countrycode" required="false" label="countrycode" /&gt;
              &lt;h:outputLabel  value="MGT" /&gt;
              &lt;p:inputText value="#{tableBean.c_MGT}"  id="mgt" required="false" label="mgt" /&gt;
  
              &lt;p:commandButton id="loginButton" value="AddNew" update=":form:messages" actionListener="#{tableBean.addNew}" oncomplete="javascript:location.reload(true)"  onstart="return myFunction3();"/&gt;
              &lt;p:commandButton type="reset" value="Clear" oncomplete="javascript:location.reload(true)"/&gt;
          &lt;/h:panelGrid&gt;
      &lt;/f:facet&gt;
  &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>Thanks</p>