-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Describe the bug
The last (aggregated) field in a query defines the table aggregation separator for all (aggregated) fields in the query.
To Reproduce
Steps to reproduce the behavior:
- Build a query with multiple (aggregated) fields
- See that the Table Aggregation for the last query item (last (aggregated) line in the query definition) defines which separator is used for all other aggregated records
You can use this query and change the order of the aggregated query lines for reference:
https://kufish212-v796.test.specifysystems.org/specify/query/185/
Expected behavior
The Table Aggregation should be respected.
Screenshots
When Preparations comes first in the query
When Determinations comes first in the query
Crash Report
v7.9.6.2 on kufish_2_12 on the test panel. spfishadmin is the username.
Arc, macOS
Specify 7 System Information - 2024-07-30T14_15_24.010Z.txt
Reported By
CSIRO on Asana
We just stumbled across this issue which only appears in S7; the query out put in S6 is correct.
We noticed that when there is more than one aggregated view of a table present in a query, that the separator of the last aggregator is forced onto all aggregations.
Here is an example. The separators for the two tables preparation and Traits (collectionobjectproperty) are different.When the query contains the aggregators in the order Preparations > Traits, the resulting aggregation for both fields has the separator from the Traits (|)
When the query contains the aggregators in the order Traits > Preparations, the resulting aggregation for both fields has the separator from the Preparations (;)
When the same query is executed in S6, each field displays with their defined separator.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status



