Skip to content

Commit

Permalink
Merge pull request #53 from bento-platform/qa/v3.9
Browse files Browse the repository at this point in the history
v3.9.1
  • Loading branch information
brouillette authored Jun 17, 2023
2 parents d2d3676 + 883b602 commit 5676f0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/mvc/tables/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func GetTableSummary(c echo.Context) error {
// obtain other potentially relevant parameters from available query parameters
// (these should be empty, but utilizing this common function is convenient to set up
// the call to the variants index through the repository functions)
var es, chromosome, lowerBound, upperBound, reference, alternative, alleles, genotype, assemblyId, _ = mvc.RetrieveCommonElements(c)
var es, _, lowerBound, upperBound, reference, alternative, alleles, genotype, assemblyId, _ = mvc.RetrieveCommonElements(c)
// unused tableId from query parameter set to '_'

// table id must be provided
Expand Down Expand Up @@ -213,7 +213,7 @@ func GetTableSummary(c echo.Context) error {
totalVariantsCount := 0.0

docs, countError := esRepo.CountDocumentsContainerVariantOrSampleIdInPositionRange(cfg, es,
chromosome, lowerBound, upperBound,
"*", lowerBound, upperBound, // always wildcard "*" chromosome
"", "", // note : both variantId and sampleId are deliberately set to ""
reference, alternative, alleles, genotype, assemblyId, tableId)
if countError != nil {
Expand Down

0 comments on commit 5676f0b

Please sign in to comment.