If the URL has a parameter of the same name, the 3nd parameter does not work.
Current URL is
http://localhost:8000/backend/parts?_tab=1&search_param%5Btab%5D=2&sort=type&direction=asc
My page have two tables, two sort.
| Status1@sortablelink('status', ' ▲▼', ['_tab'=>1, 'search_param'=>$search_params]) |
| Status2@sortablelink('status', ' ▲▼', ['_tab'=>2, 'search_param'=>$search_params]) |
Second table's sort link was too "_tab=1"
http://localhost:8000/backend/parts?_tab=1&search_param%5Btab%5D=2&sort=type&direction=asc
not "_tab=2"
http://localhost:8000/backend/parts?_tab=2&search_param%5Btab%5D=2&sort=type&direction=asc
How to set sort parameter and to change url's parameter in this case?
If the URL has a parameter of the same name, the 3nd parameter does not work.
Current URL is
http://localhost:8000/backend/parts?_tab=1&search_param%5Btab%5D=2&sort=type&direction=asc
My page have two tables, two sort.
Second table's sort link was too "_tab=1"
http://localhost:8000/backend/parts?_tab=1&search_param%5Btab%5D=2&sort=type&direction=asc
not "_tab=2"
http://localhost:8000/backend/parts?_tab=2&search_param%5Btab%5D=2&sort=type&direction=asc
How to set sort parameter and to change url's parameter in this case?