panaxit / panaxui-angularjs

PanaxUI AngularJS Frontend
http://panax.io/
Apache License 2.0
2 stars 1 forks source link

BUG: feat(views[cards,form,grid]):loader() invoked multiple times when pageIndex (currentPage) is provided from sitemap #126

Closed benoror closed 8 years ago

benoror commented 8 years ago

Steps to reproduce:

1) Add pageIndex or pagesize to web.sitemap:

<catalog title="A" description="" catalogName="CentrosDeCostos.CentroDeCostos" mode="readonly" controlType="cardView" filters="[EsActivo=1]" />
<catalog title="B" description="" catalogName="CentrosDeCostos.CentroDeCostos" mode="edit" controlType="cardView" filters="[EsActivo=1]" pageSize="4" pageIndex="3" />

2) Open A

3) Open B (multiple calls)

4) Re-open A (multiple calls)

Finding: currentPage is modified after load()