@@ -277,7 +277,6 @@ func server(jobsystem JobSystem, config ConfigRoot) {
277277 var dbs []string
278278 var mode string
279279 var email string
280- // var isInterface bool
281280 var iterativesearch bool
282281 var taxfilter string
283282
@@ -299,7 +298,6 @@ func server(jobsystem JobSystem, config ConfigRoot) {
299298 query = buf .String ()
300299 dbs = req .Form ["database[]" ]
301300 mode = req .FormValue ("mode" )
302- // isInterface = req.FormValue("interface") == "true"
303301 email = req .FormValue ("email" )
304302 iterativesearch = req .FormValue ("iterativesearch" ) == "true"
305303 taxfilter = req .FormValue ("taxfilter" )
@@ -312,7 +310,6 @@ func server(jobsystem JobSystem, config ConfigRoot) {
312310 query = req .FormValue ("q" )
313311 dbs = req .Form ["database[]" ]
314312 mode = req .FormValue ("mode" )
315- // isInterface = req.FormValue("interface") == "true"
316313 email = req .FormValue ("email" )
317314 iterativesearch = req .FormValue ("iterativesearch" ) == "true"
318315 taxfilter = req .FormValue ("taxfilter" )
@@ -332,7 +329,6 @@ func server(jobsystem JobSystem, config ConfigRoot) {
332329 modeIdx := isIn ("complex" , modes )
333330 if modeIdx != - 1 {
334331 modeWithoutComplex := strings .Join (append (modes [:modeIdx ], modes [modeIdx + 1 :]... ), "-" )
335- // request, err = NewComplexSearchJobRequest(query, dbs, databases, modeWithoutComplex, isInterface, config.Paths.Results, email, taxfilter)
336332 request , err = NewComplexSearchJobRequest (query , dbs , databases , modeWithoutComplex , config .Paths .Results , email , taxfilter )
337333 } else {
338334 request , err = NewStructureSearchJobRequest (query , dbs , databases , mode , config .Paths .Results , email , iterativesearch , taxfilter )
0 commit comments