You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The pagination breaks when trying to add the pagination-id #453
I was trying to incorporate the pagination-id since I have 2 paginations in the same page. But everytime I include the ID, I get the Syntax Error issue.
When no pagination-id is used, everything works well with only one of the repeats that need the pagination.
I am using the latest version that just downloaded from gtihub
Error: [$parse:syntax] Syntax Error: Token ':' is an unexpected token at column 160 of the expression [paginated = (filteredCmpClient = (taskLevelList | filter: searchCmpUser | filter: searchALL | orderBy:propertyName:reverse) | itemsPerPage: pageSize.value.id) : 'taskLevel'] starting at [: 'taskLevel'].
Actually, that error is coming from this code where I replicated the example available in the repository, where "current-page" and "pagination-id" are outside the parenthesis
Activity
michaelbromley commentedon Jun 20, 2017
Hi,
It looks like the closing parenthesis is in the wrong place to me:
Try moving it to after the "taskLevel" id string.
plasensa commentedon Jun 20, 2017
Actually, that error is coming from this code where I replicated the example available in the repository, where "current-page" and "pagination-id" are outside the parenthesis
michaelbromley commentedon Jun 20, 2017
Ok. Does that mean this issue is resolved? If so you can close it.
plasensa commentedon Jun 20, 2017
Hi MIchael,
thank you for for your quick follow-ups. I apologize for not being too clear. I made a wrong assumption. Let me try to elaborate a bit more.
This is a brief description of the code used
Paginator_error.txt
I guess something does the directive with what I wrote, because I do not know where those : are coming from
I hope this clears out the misunderstanding.
Thanks again