Replies: 1 comment
-
PHP is stateless. If you create your list widget manually in a given context (i.e. to display it) but don't ensure that it is created and bound to the controller for the AJAX request that is being sent for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have manually created a list widget to list orders for a user in the backend. It is manually created as it actually fetches orders for anyone in the user's company. All is working except the paginator. It paginates the results but the next and previous page links give an error:
"A widget with class name 'list' has not been bound to the controller" on line 606 of /modules/backend/classes/Controller.php"
The data request on the paginator links is data-request="list::onPaginate"
The code in the partial is below. The commented out bits work but are not relevant to the issue. Can you advise how to solve this please?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions