Skip to content

Conversation

@DomGarguilo
Copy link
Member

Fixes #6058

Main changes here:

  • properly interprets the incoming age data so we can correctly sort it in the bulk import tables

When a value was not present for the age, the renderers returned "-" which DataTables could not compare to other values so the order was essentially undefined. Now, we map to a value of 0 for sorting those rows.

I took a quick look through other pages and I don't think this bug exists elsewhere.

Unrelated to the bug but still fixed:

  • made a small change to add autoWidth=false which allows the Bulk Import table to properly resize its width while still respecting the defined percentages. Without this, the table would not dynamically resize if the page width changed. Now it aligns with how the other tables in the monitor behave.

@DomGarguilo DomGarguilo added this to the 2.1.5 milestone Jan 15, 2026
@DomGarguilo DomGarguilo self-assigned this Jan 15, 2026
@DomGarguilo DomGarguilo linked an issue Jan 15, 2026 that may be closed by this pull request
@DomGarguilo
Copy link
Member Author

This screenshot is before these changes and shows the sorting bug. Descending sort is selected on both tables for the age column but neither is working (top table is coincidentally correct). (can also see the table width issue on the top table)
Screenshot from 2026-01-15 10-27-25

This screenshot shows both tables sorting properly on age
Screenshot from 2026-01-15 10-41-59

@DomGarguilo DomGarguilo merged commit 06bb5cd into apache:2.1 Jan 15, 2026
8 checks passed
@DomGarguilo DomGarguilo deleted the bulkImportSort branch January 15, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bulk Import sorting bug

2 participants