{"action":"created","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1693","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1693/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1693/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1693/events","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/1693","id":116985102,"number":1693,"title":"Send and Recover Status Parameters","user":{"login":"juliocorral","id":195665,"avatar_url":"https://avatars.githubusercontent.com/u/195665?v=3","gravatar_id":"","url":"https://api.github.com/users/juliocorral","html_url":"https://github.com/juliocorral","followers_url":"https://api.github.com/users/juliocorral/followers","following_url":"https://api.github.com/users/juliocorral/following{/other_user}","gists_url":"https://api.github.com/users/juliocorral/gists{/gist_id}","starred_url":"https://api.github.com/users/juliocorral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliocorral/subscriptions","organizations_url":"https://api.github.com/users/juliocorral/orgs","repos_url":"https://api.github.com/users/juliocorral/repos","events_url":"https://api.github.com/users/juliocorral/events{/privacy}","received_events_url":"https://api.github.com/users/juliocorral/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/labels/help%20wanted","name":"help wanted","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-15T10:14:46Z","updated_at":"2015-11-16T14:43:28Z","closed_at":null,"body":"Hi!,\r\n\r\nNe1 could help me with this? I'll try to explain my problem...\r\n\r\nI need an example of this situation. I have a normal table with some columns with order posibilities, a search field and pagination. Last field of every row has several icons to do some actions (see, edit, add language,..) \r\nWhat I need is how to get table status parameters (order, search value, page number,...) and send these values to some urls (see url, edit, url,...) and when I'll return to see the table again I need to recover these status parameters to show the table correctly again (same order, same, page number,...)\r\n\r\nPlease anyone could write a complete and simple example with this situation.\r\n\r\nThank you in advance and sorry for my terriblo English."},"comment":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/comments/157053849","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/1693#issuecomment-157053849","issue_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1693","id":157053849,"user":{"login":"juliocorral","id":195665,"avatar_url":"https://avatars.githubusercontent.com/u/195665?v=3","gravatar_id":"","url":"https://api.github.com/users/juliocorral","html_url":"https://github.com/juliocorral","followers_url":"https://api.github.com/users/juliocorral/followers","following_url":"https://api.github.com/users/juliocorral/following{/other_user}","gists_url":"https://api.github.com/users/juliocorral/gists{/gist_id}","starred_url":"https://api.github.com/users/juliocorral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliocorral/subscriptions","organizations_url":"https://api.github.com/users/juliocorral/orgs","repos_url":"https://api.github.com/users/juliocorral/repos","events_url":"https://api.github.com/users/juliocorral/events{/privacy}","received_events_url":"https://api.github.com/users/juliocorral/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T14:43:28Z","updated_at":"2015-11-16T14:43:28Z","body":"Thank you for your answer.\n\nI would like to use second option (save params - restore params) but I\ndon´t know how to get this params and append them to URL that is invoked\nclicking on an icon in one row and how to restore these params when I\nreturn from this url with a back button with parameters send by GET to\nreturn table to its initial state (page, order,...)\n\nCould you show me a simple example of this situation and al least the\nJavascript functions to do this. I'm not very good in Javascript by now I'm\nlearning.\n\nThank in advance.\n\n2015-11-16 3:20 GMT+01:00 文翼 <notifications@github.com>:\n\n> There are two solutions:\n>\n>    1.\n>\n>    Use the bootstrap-table-cookie extension:\n>    http://issues.wenzhixin.net.cn/bootstrap-table/#extensions/cookie.html\n>    2.\n>\n>    Save the params by yourself:\n>\n> queryParams: function (params) {\n>     savedParams = params;\n>     return saveParams;\n> }\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/wenzhixin/bootstrap-table/issues/1693#issuecomment-156890446>\n> .\n>\n"}}