{ "id": "60994", "key": "TIMOB-362", "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": [ { "id": "11223", "name": "Release 1.3.0", "archived": true, "released": true, "releaseDate": "2010-05-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:52:49.000+0000", "created": "2011-04-15T02:27:53.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "bug", "feature" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:52:49.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": "{html}

When using the search feature for table views, any custom\nfiltering/formatting is lost. A few community members have\ncommented on this, including in this issue:

\n

\nhttp://support.appcelerator.net/discussions/support/1156-layout-tem...

\n

Logging an issue here to decide whether or not we want to\nsupport keeping table view row layouts in the filtering view.

{html}", "attachment": [], "flagged": false, "summary": "Layout lost when filtering table view", "creator": { "name": "kevinwhinnery", "key": "kevinwhinnery", "displayName": "kevinwhinnery", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "123155", "author": { "name": "chrisreed", "key": "chrisreed", "displayName": "Chris Reed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

It's two months down the road on this one.

\n

Tableview search still doesn't support the design of the\nTableview. The impact being we can create the most polished\ntableview designs but these get replace by bland black text on\nwhite background as soon as the the user searches (I don't see how\nthis is different to edit/delete modes for Tableviews, where the\nstyling is maintained).

\n

December 15th 2009:
\n\nhttp://support.appcelerator.net/discussions/titanium-mobile-discuss...
\nJanuary 24th 2010:
\n\nhttp://support.appcelerator.net/discussions/support/1287-searching-...

{html}", "updateAuthor": { "name": "chrisreed", "key": "chrisreed", "displayName": "Chris Reed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:53.000+0000", "updated": "2011-04-15T02:27:53.000+0000" }, { "id": "123156", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I was about to mention how Apple's own apps have precedent to\nhave the search be intentionally boring, but it turns out I'm wrong\non that.

\n

Possible solutions:
\n1: In 3.0, a built-in search ability was given to table views. Due\nto 0.8 and before working with 2.x, this isn't currently used, but\ncould be. I need to look into the abilities.

\n

Pro: Future proofing, as features Apple adds to this are\nobtained for nearly free. Ensures look and feel consistency.

\n

Cons: Unknown support of titanium properties that are applied to\nthe searchView we have, or to the look and feel of the tableview\nthat represents the search.

\n

2: Showing results are in the exact same format as the standard\ntable UI.

\n

Pro: Might be the simplest to implement.

\n

Cons: Might be the ugliest effect; That is, table view layouts\nthat work well when unfiltered might look awkward when\nfiltered.

\n

3: A new property on tableRowCell called 'searchView', which\nrepresents the layout of a cell when in the search format.

\n

Pro: When not used, falls back into (2), but lets the end dev\navoid 2's cons.

\n

Cons: More difficult to implement, might be more expensive\ncomputationally.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:53.000+0000", "updated": "2011-04-15T02:27:53.000+0000" }, { "id": "123157", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Suggesting going with 1. Namely, because of \nhttps://appcelerator.lighthouseapp.com/projects/32238/tickets/643-t...\n, it may be time to switch from our custom-rolled search\nimplementation to the 3.0-provided one, which may give us this and\nsome other things for free.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:54.000+0000", "updated": "2011-04-15T02:27:54.000+0000" }, { "id": "123158", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Taking over at Blain's request. Will probably involve slicing\nout a bunch of the existing search code in favor of the new(ish?)\n3.0 stuff.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:54.000+0000", "updated": "2011-04-15T02:27:54.000+0000" }, { "id": "123159", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Possibly fixed by Blain (or whoever) in the update to 3.0-style\nsearch. There is one interesting side-effect: If your table has\nrows with background images that contain transparency, they will\nNOT show the background underneath the table, due to the search\nview table not being transparent.

\n

So row settings are preserved, but possibly not tables (due to a\nnew table being created for the search). Looking into this.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:56.000+0000", "updated": "2011-04-15T02:27:56.000+0000" }, { "id": "123160", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [75732610944572f4d1cdc92d9b3a04762a3cb558])\nCloses #362: Table properties now preserved in search\ntable. \nhttp://github.com/appcelerator/titanium_mobile/commit/7573261094457...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:56.000+0000", "updated": "2011-04-15T02:27:56.000+0000" }, { "id": "123161", "author": { "name": "joemaffia", "key": "joemaffia", "displayName": "Joe Maffia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Guys what's the final status on this?

\n

I can see the tkt has been closed but so far KitchenSink doesn't\nhave any good example of this working and if I try on my app can't\nget it done, as soon I start the search any tableviewrow style\n(image, label etc.) disappear... displaying a simple tableview with\na single row/text.

\n

Thanks.

{html}", "updateAuthor": { "name": "joemaffia", "key": "joemaffia", "displayName": "Joe Maffia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:56.000+0000", "updated": "2011-04-15T02:27:56.000+0000" }, { "id": "123162", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

See #1037.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:57.000+0000", "updated": "2011-04-15T02:27:57.000+0000" }, { "id": "130813", "author": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "body": "rollback wrong update", "updateAuthor": { "name": "nderzhak", "key": "nderzhak", "displayName": "Nikolai Derzhak", "active": true, "timeZone": "America/Phoenix" }, "created": "2011-04-15T07:51:15.000+0000", "updated": "2011-04-15T07:51:15.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }