Skip to content

Grouping not working properly #2066

@po1337iker

Description

@po1337iker

Describe the bug
When scrolling through a table with about 1300 records, the grouping of records becomes progressively incorrect. While the grouping looks fine at the top of the table, as you scroll down, records are incorrectly assigned to groups or group headers do not align with their records.

To Reproduce
Steps to reproduce the behavior:

1 Go to the table in Teable
2 Start viewing the data
3 Scroll down the table
4 See that the grouping assignment becomes inconsistent

Expected behavior
The grouping should remain consistent and correct regardless of scroll position, with all records properly assigned to their respective groups.

Screenshots

Image

** Client:**
OS: Windows
Browser:
Brave 1.83.120
Chrome 142.0.7444.60
Firefox 144.0.2 (64-Bit)

Platform
docker compose
teable-community:latest
postgres:15.4
redis:7.2.4
teable-db-migrate:latest

Additional context
We use this table to track our incoming invoices. I updated the containers yesterday. A coworker mentioned that the grouping functionality worked correctly before the update. After the update, I switched the image from teable to teable-community, which might be relevant.

Edit: I tried to reproduce this behaviour by creating a new table with "simple" test data containing 400 different suppliers and 1500 records, but the grouping worked as expected in that case. I have no idea what could cause the grouping issue in the existing table.

Edit2: I was able to find out which verion was used before the update by recovering a backup: "App Version: 0.4.0-alpha+1.9.1-build.343". And I can confirm that the grouping is working correctly there.
I also tried to export the base from the recovered VM and import the .tea file on the VM running the latest version. The base and table is created but there are no records in the table. After an import of CSV-data I exported on the recovered VM the grouping shows the same wrong behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions