Table Builder to read from external API and apply custom pagination

I have recently implement external API to my model to read from my external API which worked perfectly, but I have an issue now in the pagination as the pagination is based on key of my response e.g. { 'id': '123', 'total': 100 'entries': [ 20 entries array ] 'links': [ 'next': 'url for the next page', 'previous: 'url for the previous page' } I'm not able to customize the pagination to read from my external api. As anyone faced this issue and was able to fix it. I'm using Filament v3
8 Replies
waleedGRT
waleedGRT15mo ago
GitHub
GitHub - calebporzio/sushi: Eloquent's missing "array" driver.
Eloquent's missing "array" driver. Contribute to calebporzio/sushi development by creating an account on GitHub.
Haider Ghaleb
Haider GhalebOP15mo ago
hey @waleedgrt i'm already using Sushi but i'm not able to do the pagination
waleedGRT
waleedGRT15mo ago
I recently used the same package, and in my case, pagination worked perfectly. Would you mind to provide your code so that I may assist you?
Haider Ghaleb
Haider GhalebOP15mo ago
this is my attached model
cheesegrits
cheesegrits15mo ago
As per #✅┊rules, please use gist for code which is too long to paste.
Haider Ghaleb
Haider GhalebOP15mo ago
will do next time 👍
Ximenes
Ximenes12mo ago
did u solve your problem? i need the same help
AlexVidal
AlexVidal12mo ago
Did anyone solve it?
Want results from more Discord servers?
Add your server