From 53d362d9d0843f8d9fa9bf1a907757eea638ef00 Mon Sep 17 00:00:00 2001 From: Sebastian Benjamin Date: Thu, 20 Jun 2024 11:54:16 -0700 Subject: [PATCH] Change sorting field type parsing to Long instead of Int --- jbrowse/src/org/labkey/jbrowse/JBrowseLuceneSearch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jbrowse/src/org/labkey/jbrowse/JBrowseLuceneSearch.java b/jbrowse/src/org/labkey/jbrowse/JBrowseLuceneSearch.java index 1b2780f01..a3b1a1a16 100644 --- a/jbrowse/src/org/labkey/jbrowse/JBrowseLuceneSearch.java +++ b/jbrowse/src/org/labkey/jbrowse/JBrowseLuceneSearch.java @@ -194,7 +194,7 @@ public JSONObject doSearch(User u, String searchString, final int pageSize, fina pointsConfigMap.put(field, doublePointsConfig); } case Integer -> { - numericQueryParserFields.put(field, SortField.Type.INT); + numericQueryParserFields.put(field, SortField.Type.LONG); pointsConfigMap.put(field, intPointsConfig); } }