Skip to content

@sortablelink Appending Hash Fragments #201

@VorkenNet

Description

@VorkenNet

Hi Folks,
I'm an old man newby, so thank you in advance for all the help!

there is any way to append at the @sortablelink any kind of anchor

http://127.0.0.1:8000/items?sort=item_name&direction=asc#myItemListAnchor

my "table" is in the middle of the page, so ordering will push theuser again on top without any anchor...

I find something standard working for pagination on laravel_doc9.x.

https://laravel.com/docs/9.x/pagination#appending-hash-fragments

  • If you need to append a "hash fragment" to URLs generated by the paginator, you may use the fragment method. For example, to append #users to the end of each pagination link, you should invoke the fragment method like so:

there is any similar "trik" for @sortablelink?

Tnx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions