title: search and filter with knockout.js
body: <p>What i want to do is create a search that would find items that match search criteria. For example if i want to search for a book called "a song of ice and fire"... a "a song" needs to be enough to find a filter results. <strong>Search critieria is search by book title</strong></p>
  
  <p>I'm getting my data from sql server database, via mvc controller and on client-site with this method, which actually works fine and displays data in table (as i'm only testing if i get this data).</p>
  
  <p><strong>PS:</strong> The important thing here is that final result is, that i am not displaying all the books in any grid/table and doing search/filtering on that table, it all should be inbeded in search and only found by search method.</p>
  
  <p><strong>update1</strong></p>
  
  <pre><code>self.search = function (value) {
              self.AllBooks.removeAll();
              for (var x in self.AllBooks) {
                  if (self.AllBooks[x].toLowerCase().indexOf(value.toLowerCase()) &gt;= 0) {
                      self.AllBooks.push(self.AllBooks[x]);
                  }
              }
          }
  </code></pre>