e5297f22c5d7c1cb0b041b0ea4c66206a244c90b hiram Mon Sep 30 10:36:52 2024 -0700 add multiple word search to the hgGateway assembly search box function refs #32596 diff --git src/hg/inc/assemblyList.h src/hg/inc/assemblyList.h index a596342..52e2fb1 100644 --- src/hg/inc/assemblyList.h +++ src/hg/inc/assemblyList.h @@ -88,17 +88,23 @@ /* Print out assemblyList in JSON format. */ /* -------------------------------- End autoSql Generated Code -------------------------------- */ #define defaultAssemblyListTableName "assemblyList" /* Name of table that maintains the list of all assemblies, whether * available here or could be built */ #define assemblyListTableConfVariable "hub.assemblyListTableName" /* the name of the hg.conf variable to use something other than the default */ char *assemblyListTableName(); /* return the assemblyList table name from the environment, * or hg.conf, or use the default. Cache the result */ +char *asmListMatchAllWords(char *searchString); +/* given a multiple word search string, fix it up so it will be + * a 'match all words' MySQL FULLTEXT query, with the required + signs + * in front of the words when appropriate + */ + #endif /* ASSEMBLYLIST_H */