ember-cli-pagination icon indicating copy to clipboard operation
ember-cli-pagination copied to clipboard

setOtherParams should refresh page number

Open safo6m opened this issue 8 years ago • 0 comments

Context: Paged remote array

It would be great to add function setOtherParams to docs. Use case: It can be used for adding filter parameters to ajax request.

Also, setOtherParams triggers pageChanged which, technically, isn't correct as page is not changed. Although, property page should be set to 1 after changing a request parameter because pagination context has changed.

I didn't get too much into the code but it makes sense to observe otherParams and fetch new data after something changes in it.

safo6m avatar Jun 27 '16 13:06 safo6m