Skip to content

Commit 9adcc03

Browse files
authored
Merge pull request #3305 from specify/use_timestamp_in_stats
Use timestampcreated instead of cataloged date
2 parents e74256b + 5e50e78 commit 9adcc03

File tree

1 file changed

+3
-3
lines changed
  • specifyweb/frontend/js_src/lib/components/Statistics

1 file changed

+3
-3
lines changed

specifyweb/frontend/js_src/lib/components/Statistics/StatsSpec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ export const statsSpec: StatsSpec = {
371371
path: formattedEntry,
372372
},
373373
{
374-
path: 'catalogedDate',
374+
path: 'timestampCreated',
375375
operStart: queryFieldFilters.greaterOrEqual.id,
376376
startValue: `${today} - 1 week`,
377377
},
@@ -390,7 +390,7 @@ export const statsSpec: StatsSpec = {
390390
path: formattedEntry,
391391
},
392392
{
393-
path: 'catalogedDate',
393+
path: 'timestampCreated',
394394
operStart: queryFieldFilters.greaterOrEqual.id,
395395
startValue: `${today} - 1 month`,
396396
},
@@ -409,7 +409,7 @@ export const statsSpec: StatsSpec = {
409409
path: formattedEntry,
410410
},
411411
{
412-
path: 'catalogedDate',
412+
path: 'timestampCreated',
413413
operStart: queryFieldFilters.greaterOrEqual.id,
414414
startValue: `${today} - 1 year`,
415415
},

0 commit comments

Comments
 (0)