akita icon indicating copy to clipboard operation
akita copied to clipboard

Paginator plugin cannot be used with active state

Open nsmgr8 opened this issue 4 years ago • 1 comments

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

The paginator plugin cannot be used with an EntityState that also has ActiveState.

Expected behavior

ActiveState should work for EntityState when the paginator plugin is used.

Minimal reproduction of the problem with instructions

https://stackblitz.com/edit/angular-ivy-kywazt

What is the motivation / use case for changing the behavior?

It is desirable to use active state for entitystates to keep track of current active object. The server side pagination is also required as there are tons of entities in the DB.

Environment


Angular version: 12.2.7


Browser:
- [x] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: 14.17.6  
- Platform:  Mac 

Others:

nsmgr8 avatar Sep 29 '21 16:09 nsmgr8

Anyone here to help me with this please?

nsmgr8 avatar Oct 22 '21 09:10 nsmgr8