Open plasensa opened 7 years ago
Hi,
It looks like the closing parenthesis is in the wrong place to me:
itemsPerPage: pageSize.value.id) : 'taskLevel'
^
this
Try moving it to after the "taskLevel" id string.
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
Ok. Does that mean this issue is resolved? If so you can close it.
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
Hello,
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'].