\n");
}
hPrintf("\n");
if(containerTrackCount > 0)
hPrintf(" Tracks so marked are containers which group related data tracks. Containers may need additional configuration (by clicking on the icon) before they can be viewed in the browser. \n");
//hPrintf("* Tracks so marked are containers which group related data tracks. These may not be visible unless further configuration is done. Click on the * to configure these.
\n");
hPrintf("\n\n");
// be done with json
hWrites(jsonTdbSettingsUse(&jsonTdbVars));
}
-#ifdef OMIT
-if(!doSearch)
- {
- hPrintf("
Recently Done
\n"
- "
Can now page through found tracks 100 at a time.
"
- "
Added icon for contqainers with a configuration link. Is this okay?
"
- "
SuperTracks can now be found.
"
- "
Configuration of superTrack children's vis should result in proper superTrack reshaping. (This is really an hgTrackUi feature.)
"
- "
Added sort toggle: Relevance, Alphabetically or by Hierarchy.
"
- "
Composite/view visibilites in hgTrackUi get reshaped to reflect found/selected subtracks. (In demo1: only default state composites; demo2: all composites.)
"
- "
Non-data 'container' tracks (composites and supertracks) have '*' to mark them, and can be configured before displaying. Better suggestions?
"
- "
"
- "
Suggested improvments:
\n"
- "
The metadata values will not be white-listed, but it would be nice to have more descriptive text for them. A short label added to cv.ra?
"
- "
Look and feel of found track list (here) and composite subtrack list (hgTrackUi) should converge. Jim suggests look and feel of hgTracks 'Configure Tracks...' list instead.
"
- "
Drop-down list of terms (cells, antibodies, etc.) should be multi-select with checkBoxes as seen in filterComposites. Perhaps saved for v2.0.
"
- "
\n");
- }
-#endif///def OMIT
hPrintf(""); // This div allows the clear button to empty it
}
void doSearchTracks(struct group *groupList)
{
if (!advancedJavascriptFeaturesEnabled(cart))
{
warn("Requires advanced javascript features.");
return;
}
webIncludeResourceFile("ui.dropdownchecklist.css");
//jsIncludeFile("ui.core.js",NULL); // NOTE: This appears to be not needed as long as jquery-ui.js comes before ui.dropdownchecklist.js
jsIncludeFile("ui.dropdownchecklist.js",NULL);
// This line is needed to get the multi-selects initialized
@@ -586,33 +565,30 @@
char *labels[128];
int numGroups = 1;
groups[0] = ANYLABEL;
labels[0] = ANYLABEL;
char *nameSearch = cartOptionalString(cart, TRACK_SEARCH_ON_NAME);
char *typeSearch = cartOptionalString(cart, TRACK_SEARCH_ON_TYPE);
#ifdef FILES_SEARCH
char *fileTypeSearch = cartOptionalString(cart, FILE_SEARCH_ON_FILETYPE);
#endif///def FILES_SEARCH
char *descSearch=FALSE;
char *groupSearch = cartOptionalString(cart, TRACK_SEARCH_ON_GROUP);
boolean doSearch = sameString(cartOptionalString(cart, TRACK_SEARCH), "Search") || cartUsualInt(cart, TRACK_SEARCH_PAGER, -1) >= 0;
struct sqlConnection *conn = hAllocConn(database);
boolean metaDbExists = sqlTableExists(conn, "metaDb");
int tracksFound = 0;
-#ifdef ONE_FUNC
-struct hash *parents = newHash(4);
-#endif///def ONE_FUNC
struct trix *trix;
char trixFile[HDB_MAX_PATH_STRING];
char **descWords = NULL;
int descWordCount = 0;
boolean searchTermsExist = FALSE;
int cols;
char buf[512];
enum searchTab selectedTab = simpleTab;
char *currentTab = cartUsualString(cart, TRACK_SEARCH_CURRENT_TAB, "simpleTab");
if(sameString(currentTab, "simpleTab"))
{
selectedTab = simpleTab;
descSearch = cartOptionalString(cart, TRACK_SEARCH_SIMPLE);
freez(&nameSearch);
@@ -733,33 +709,33 @@
hPrintf("