Skip to content

Record Sets created from queries on Record Sets are not filtered correctly #5280

@grantfitzsimmons

Description

@grantfitzsimmons

Describe the bug
Creating a record set from another record set without selecting any items creates a record set from all results from the unfiltered query.

To Reproduce
Steps to reproduce the behavior:

  1. Query on a record set
  2. Try to create a record set from the results of a record set
  3. See issue

Expected behavior
The new record set should be restricted to the results of the query shown to the user.

Screenshots

This method does not appear to work in our collection’s database running Sp7.9.4
Following these instructions produces a recordset larger than the original one, whose contents are the records returned for the second query if run on the whole database, not solely the records within the existing recordset.
Notably, the .csv exported from the subquery is correct. So there is just something wrong with the way the recordset is being produced.

Apologies if this is a known bug. But if not, it should be fixed!
image
image
image

Reported By
Nate Shoobs at OSU

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - BugIncorrect behavior of the product2 - QueriesIssues that are related to the query builder or queries in general2 - Record SetsIssues that are related to record sets

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions