primefaces / primeui

Rich set of javascript-css only widgets
http://www.primefaces.org/primeui
278 stars 125 forks source link

Paginator resets current page when setTotalRecords called. #296

Open Sellec opened 4 years ago

Sellec commented 4 years ago

Expected behaviour: 1) If new page count is smaller than current page number, then new max page is set. 2) If new page count is higher or equal current page number, then doing nothing.

Taked behaviour: The current page always set to 0.