{"action":"created","issue":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1157","labels_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1157/labels{/name}","comments_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1157/comments","events_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1157/events","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/1157","id":94269438,"number":1157,"title":"Bootstrap Table search issue","user":{"login":"naveenkumart","id":7788238,"avatar_url":"https://avatars.githubusercontent.com/u/7788238?v=3","gravatar_id":"","url":"https://api.github.com/users/naveenkumart","html_url":"https://github.com/naveenkumart","followers_url":"https://api.github.com/users/naveenkumart/followers","following_url":"https://api.github.com/users/naveenkumart/following{/other_user}","gists_url":"https://api.github.com/users/naveenkumart/gists{/gist_id}","starred_url":"https://api.github.com/users/naveenkumart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naveenkumart/subscriptions","organizations_url":"https://api.github.com/users/naveenkumart/orgs","repos_url":"https://api.github.com/users/naveenkumart/repos","events_url":"https://api.github.com/users/naveenkumart/events{/privacy}","received_events_url":"https://api.github.com/users/naveenkumart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-10T10:00:35Z","updated_at":"2015-07-13T05:23:57Z","closed_at":"2015-07-10T12:39:46Z","body":"We are using ajax json data for Bootstrap table. A part from the data displaying on table, we are getting some more values and assigning them as attribute values for further application use. So when we are searching table data it is considering table view data along with inner attributes data for search but what we need is to search data that was displayed and viewed in cells.\r\n\r\nex:\r\n```\r\n          <table>\r\n                 <tr>\r\n                     <td><a href=\"javascript:void(0)\" a=\"12\" id=\"nani005\">Naveeen</a></td>\r\n               </tr>\r\n         </table>\r\n```\r\n\r\nIf we search with \"Naveen\" its showing the row which is good, but when we search with attributes like \"nani005\" or \"12\" also its showing the row which we feel it as difficult."},"comment":{"url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/comments/120816227","html_url":"https://github.com/wenzhixin/bootstrap-table/issues/1157#issuecomment-120816227","issue_url":"https://api.github.com/repos/wenzhixin/bootstrap-table/issues/1157","id":120816227,"user":{"login":"naveenkumart","id":7788238,"avatar_url":"https://avatars.githubusercontent.com/u/7788238?v=3","gravatar_id":"","url":"https://api.github.com/users/naveenkumart","html_url":"https://github.com/naveenkumart","followers_url":"https://api.github.com/users/naveenkumart/followers","following_url":"https://api.github.com/users/naveenkumart/following{/other_user}","gists_url":"https://api.github.com/users/naveenkumart/gists{/gist_id}","starred_url":"https://api.github.com/users/naveenkumart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naveenkumart/subscriptions","organizations_url":"https://api.github.com/users/naveenkumart/orgs","repos_url":"https://api.github.com/users/naveenkumart/repos","events_url":"https://api.github.com/users/naveenkumart/events{/privacy}","received_events_url":"https://api.github.com/users/naveenkumart/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T05:23:57Z","updated_at":"2015-07-13T05:23:57Z","body":"Here is <a href=\"https://jsfiddle.net/naavin005/mnmhuu38/8/\">my fiddle</a>, if you search for the word \"sensor\", which is not in the table's visible content but it is there inside of td anchor data attribute, considered as a filterable value and filtering data. \r\nI looked into bootstrap-table.js file there ur searching the input string with the JSON data and filtering the table. But in our scenario that would be an error because we need to consider only the table's view data.\r\n\r\nThank you "}}