{ "id": "174945", "key": "TIMOB-27863", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": null, "resolutiondate": null, "created": "2020-04-23T14:02:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20949", "name": "Release 9.0.1", "archived": false, "released": true, "releaseDate": "2020-04-16" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-04-27T15:59:32.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "With the following test case below when doing a search in a TableView which uses TableViewSection the header title is shown in the search results on Android but not on iOS. Which results with a lot of empty sections on Android and is ultimately not needed. \r\n\r\n*Test Case:* \r\n{code:java}\r\nTi.UI.backgroundColor = 'white';\r\nvar win = Ti.UI.createWindow();\r\n\r\n var section1 = Ti.UI.createTableViewSection({ headerTitle: '2.0.0' });\r\n section1.add(Ti.UI.createTableViewRow({ title: 'timob1000',hasChild: true, level: \"acceptance\" }));\r\n section1.add(Ti.UI.createTableViewRow({ title: 'timob1001',hasChild: true, level: \"acceptance\" }));\r\n section1.add(Ti.UI.createTableViewRow({ title: 'timob1004',hasChild: true, level: \"acceptance\" }));\r\n section1.add(Ti.UI.createTableViewRow({ title: 'timob1005',hasChild: true, level: \"acceptance\" }));\r\n section1.add(Ti.UI.createTableViewRow({ title: 'timob12148',hasChild: true, level: \"acceptance\" }));\r\n section1.add(Ti.UI.createTableViewRow({ title: 'timob16888',hasChild: true, level: \"acceptance\" }));\r\n\r\n var section2 = Ti.UI.createTableViewSection({ headerTitle: '2.1.1' });\r\n section2.add(Ti.UI.createTableViewRow({ title: 'timob1002',hasChild: true, level: \"acceptance\" }));\r\n section2.add(Ti.UI.createTableViewRow({ title: 'timob1003',hasChild: true, level: \"acceptance\" }));\r\n section2.add(Ti.UI.createTableViewRow({ title: 'timob1006',hasChild: true, level: \"acceptance\" }));\r\n section2.add(Ti.UI.createTableViewRow({ title: 'timob1007',hasChild: true, level: \"acceptance\" }));\r\n section2.add(Ti.UI.createTableViewRow({ title: 'timob1008',hasChild: true, level: \"acceptance\" }));\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n\t\tbarColor: '#000',\r\n\t\tshowCancel: true\r\n\t});\r\n\r\nvar table = Ti.UI.createTableView({\r\n data: [section1, section2],\r\n search: search\r\n});\r\n\r\ntable.addEventListener('click', function(e){\r\n Ti.API.info(e.rowData.title);\r\n Ti.API.info(e.section.headerTitle);\r\n});\r\n\r\nwin.add(table);\r\nwin.open();\r\n{code}\r\n\r\n*iOS:*\r\n !ios.png|thumbnail! \r\n*Android:*\r\n !android.png|thumbnail! \r\n", "attachment": [ { "id": "67346", "filename": "android.png", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-23T14:00:42.000+0000", "size": 57276, "mimeType": "image/png" }, { "id": "67347", "filename": "ios.png", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-23T14:00:08.000+0000", "size": 123205, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Parity on TableViewSection header titles between iOS and Android", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MacOS Catalina: 10.15.5 Beta \r\nXcode: 11.4\r\nJava Version: 1.8.0_131\r\nAndroid NDK: 21.1.6273396-beta2\r\nNode.js: 10.16.3\r\n\"\"NPM\":\"5.0.0-1\",\"CLI\":\"8.0.0-master.10\"\"\r\nPixel Xl 10.0 Sim\r\niphone 8 sim (12.4)", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }