F
Filament3mo ago
Mikail

->extremePaginationLinks() not working even as default

The link numbering and page index summary is not displaying and I've tried every possible thing I can think of. Any idea?
No description
12 Replies
awcodes
awcodes3mo ago
Have you published any views? This looks like a simple pagination. In which case first and last wouldn’t apply.
Mikail
Mikail3mo ago
Yes I published a view. But this is the default pagination. I never applied simplePaginate
awcodes
awcodes3mo ago
Guess I’d need to see more code, but this looks like simple pagination. Which it may be since it switches to simple under a certain break point.
Mikail
Mikail3mo ago
I haven't use any pagination method and simple is not the default right
awcodes
awcodes3mo ago
Simple is the default under a specified screen width. Which is why I asked if you have any published views.
Mikail
Mikail2mo ago
Do you mean publishing a view for the resource, if so, yes.
awcodes
awcodes2mo ago
I mean, have you published any of Filament's views? if so that is probably why it is breaking. if you publish the views then you have to be conscious of breaking changes between updates. That is why it is not recommend to publish them. you might also need to do an 'npm run build' if you are using a custom theme.
Mikail
Mikail2mo ago
No I haven't published any view. You were right about screen size. I made the sidebar collapsible and now its visible. Perhaps my screen width affected it. Even though I'm using a laptop. HP Envy 13'.
<Λmir>
<Λmir>2mo ago
Did you used any pagination related packages for your models? This is the pagination view when you are using simple/cursor-based pagination.
Mikail
Mikail2mo ago
Nope. I made the sidebar collapsible and now its visible. Could there be a way t change the sidebar width to give more room for the table?
awcodes
awcodes2mo ago
$panel->sidebarWidth('17rem')
Mikail
Mikail2mo ago
Works like magics thanks. Now the extreme pagination works without collapsible sidebar. I guess my screen affected the view. Thanks once again