{ "id": "93892", "key": "TIMOB-9800", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-06-26T18:37:59.000+0000", "created": "2012-06-26T01:27:39.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:09:42.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "If I search for \"aa\" in the below code, I get to see only two rows. If I click on any of the rows, the search exits and the 4 rows gets visible again. In the real application, clicking on a row will load a new screen. The customer wants that, when you hit the back button, you come back on the table with the search still there.\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Win 1',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar data = [{title:\"aaa\"}, {title:\"bbb\"}, {title:\"ccc\"}, {title:\"aab\"}];\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n hintText:'search',\r\n cancel:false,\r\n});\r\n\r\nvar view = Titanium.UI.createTableView({\r\n data: data,\r\n search: search,\r\n});\r\n\r\nwin.add(view);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Should not exit search mode when click on tableview", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS5", "comment": { "comments": [ { "id": "200366", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Look at hideSearchOnSelection property of tableView", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T11:49:12.000+0000", "updated": "2012-06-26T11:49:12.000+0000" }, { "id": "415629", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:09:42.000+0000", "updated": "2017-03-24T18:09:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }