Skip to content

Relative TimestampCreated filter not working #7160

Description

@emenslin

Describe the bug
Original issue #7021, related to #7032. In query builder if you query on timestampCreated and use a relative filter (i.e. greater than 7 days in the past) all results are returned instead of the actual count. In statistics under the digitization category the counts show every record for each result instead of the actual count.

To Reproduce
Steps to reproduce the behavior:

In stats:

  1. Delete collection preferences
  2. Go to stats
  3. Refresh the page
  4. See incorrect counts.

In query builder:

  1. Go to query buider
  2. Select Collection Object
  3. Add timestamp created
  4. Select a filter (i.e. greater than)
  5. Switch to relative date
  6. Put in any parameter (i.e. 7 days in the past)
  7. See all results retured

Expected behavior
Digitization counts should reflect the actual counts

Screenshots

Stats:

07-21_11.37.mp4

Query builder in main:

Image

Query builder in 7.10.2.3:

Image

Please fill out the following information manually:

Metadata

Metadata

Assignees

No one assigned

    Labels

    2 - QueriesIssues that are related to the query builder or queries in general2 - StatisticsIssues that are related to the statistics pageregressionThis is behavior that once worked that has broken. Must be resolved before the next release.

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions