title: ng2-search-filter filter records based on column fields angular
body: <p>I am using npm i ng2-search-filter plugin to filter records . Below is the code I have used and its working fine . I installed the plugin and added ngModel called searchFinalData and passed the model name to the array list. Now its doing a global search for all the list of fields present in the array. However, I need to filter based on only two columns. How do I achieve this</p>
  
  <pre><code>&lt;div&gt;    
  &lt;input type="text" class="form-control" [(ngModel)]="searchFinalData" placeholder="Enter Case No or Patient Name" /&gt;
                  &lt;/div&gt;
    &lt;div *ngFor="let array of arrayitems |  filter:searchFinalData&gt; &lt;/div
  
  {
  billStatus:"F"
  caseNo:"2011000126"
  clinicName:"DR WINSTON JONG"
  patientName:"DEATH ANGELSEAN"
  }
  {
  billStatus:"F"
  caseNo:"1011000139"
  clinicName:"DR WINSTON JONG"
  patientName:"LIEWCHRISTINA Cccev eeeee"
  }
  </code></pre>
  
  <p>I need to search based on case number and patient name only. How to add column name parameters to my search filter.</p>