748b06ac95ff2a3957be3845bd3594984e3cc3cf chmalee Wed Aug 17 19:21:48 2022 -0700 Rename test cgi to official name. Always search everything, only show categories that have matches in the result list. Add /search endpoint to hubApi, add code to search help docs in hgSuggest but don't call it yet in autoComplete.js. Minor fixups so search result links work correctly. Fixing up old programs that call hgPositionsFind diff --git src/hg/hubApi/makefile src/hg/hubApi/makefile index 83e8c06..5ee92c2 100644 --- src/hg/hubApi/makefile +++ src/hg/hubApi/makefile @@ -1,26 +1,26 @@ kentSrc = ../.. include ../../inc/common.mk cgiApi = /usr/local/apache/cgi-bin-api L += ${HALLIBS} $(MYSQLLIBS) -lm MYLIBDIR = ../../lib/${MACHTYPE} MYLIBS = $(MYLIBDIR)/jkhgapcgi.a $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a A = hubApi -O = hubApi.o getData.o apiUtils.o list.o +O = hubApi.o getData.o apiUtils.o list.o search.o A = hubApi include ../../inc/cgi_build_rules.mk compile:: $O ${CC} $O ${MYLIBS} ${L} mv ${AOUT} $A${EXE} # building your own sandbox also copies result to cgiApi directory # if it exists my:: if [ -d ${cgiApi} ]; then rm -f ${cgiApi}/$A; cp -p ${CGI_BIN_USER}/$A ${cgiApi}/$A; fi