ekokotov / object-table

Angular directive to easy create dynamic tables from source or URL with sorting, filtering and pagination. Smart templates and good perfomance
BSD 3-Clause "New" or "Revised" License
171 stars 52 forks source link

when search parameter change, is it more suitable to reset the page to first page? #9

Closed jinceon closed 9 years ago

jinceon commented 9 years ago

when search parameter change, is it more suitable to reset the page to first page? for example,initially there are 50 records.

bug repeat steps:

  1. change page to the last page ,eg pagesize 10, the last page is 5.
  2. type some character in filter,now result records remains 7.

expect result: reset page to first page.

actual result: it still stay in page 5. and pagination bar is invisile

ekokotov commented 9 years ago

Hello. It is fixed. Please download last version and rebuild. I'll add this fix in next release. Thank you.