Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search doesn't work properly #41

Open
francisbyrne opened this issue Jun 16, 2014 · 1 comment
Open

Search doesn't work properly #41

francisbyrne opened this issue Jun 16, 2014 · 1 comment

Comments

@francisbyrne
Copy link
Contributor

Reproduction

  1. Clone https://github.com/francisbyrne/datatables-example
  2. mrt install; meteor
  3. Open localhost:3000 in browser
  4. Browse through data items; there are a bunch of BHP.AX items and a bunch of NAB.AX
  5. Go back to the first page and enter NAB.AX into the search bar

Expected

Table displays NAB.AX rows in the table
Table info shows filtered info, e.g. "Showing 1 to 10 of 16 entries (filtered from 32 total entries)"
Table pagination is reduced to only 2 pages

Actual

Table displays "No matches found", until you use the pagination to go to the 2nd page
Table info still shows all rows
Table pagination is not reduced (still shows all pages)

@francisbyrne francisbyrne changed the title Search doesn't work since upgrading Search doesn't work properly Jun 16, 2014
@LDubya
Copy link

LDubya commented Jun 28, 2014

I'm also having this issue. If I search for a term that exists on a different page than the one I am currently viewing, the table will state that it has zero matches.

If I switch to the page with the search term and then do the search, the table will finally show that row as a result.

If I show all the rows in one page by making the max rows per page more than the number of rows in the table, and then do the search, then the search result will return.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants