Skip to content

Commit 3e5a94d

Browse files
Disable LabKey caching of ResultSet by default
1 parent 4d3fec0 commit 3e5a94d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

flow/src/org/labkey/flow/reports/FilterFlowReport.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,8 @@ else if ("fieldkey".equals(f.type))
385385
}
386386

387387
_query = query.toString();
388-
Results results = QueryService.get().getSelectBuilder(flow, _query).select();
388+
// Pass true to get a CachedResultSet, which this code requires (see getWrapped() and date manipulation below)
389+
Results results = QueryService.get().getSelectBuilder(flow, _query).select(true);
389390
// This still breaks encapsulation, but it's better than a direct cast.
390391
CachedResultSet rs = results.getWrapped(CachedResultSet.class);
391392
if (null == rs)

0 commit comments

Comments
 (0)