Skip to content

Commit b48e7f4

Browse files
committed
Add back old sort strings to try to unbreak nigthly benchmarks.
1 parent 5a9db04 commit b48e7f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python/benchUtil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,11 @@ def parseResults(resultsFiles):
413413
task.hitCount = hitCount
414414
if sort in ('<string: "title">', '<string: "titleDV">'):
415415
task.sort = 'Title'
416-
elif sort.startswith('<long: "datenum">') or sort.startswith('<sortednumeric: "lastMod"> selector=MIN type=LONG'):
416+
elif sort.startswith('<long: "datenum">') or sort.startswith('<long: "lastModNDV">') or sort.startswith('<sortednumeric: "lastMod"> selector=MIN type=LONG'):
417417
task.sort = 'DateTime'
418418
elif sort in ('<string: "month">', '<string: "monthSortedDV">'):
419419
task.sort = 'Month'
420-
elif sort == '<sortednumeric: "dayOfYear"> selector=MIN type=INT':
420+
elif sort == '<int: "dayOfYearNumericDV">' or sort.startswith('<sortednumeric: "dayOfYear"> selector=MIN type=INT'):
421421
task.sort = 'DayOfYear'
422422
elif sort == '<string_val: "titleBDV">':
423423
task.sort = 'TitleBinary'

0 commit comments

Comments
 (0)