Skip to content

Keep query field order when using Batch Edit#8023

Open
alesan99 wants to merge 6 commits intomainfrom
issue-6597
Open

Keep query field order when using Batch Edit#8023
alesan99 wants to merge 6 commits intomainfrom
issue-6597

Conversation

@alesan99
Copy link
Copy Markdown
Contributor

@alesan99 alesan99 commented Apr 24, 2026

Fixes #6597

Preserves order from query to batch edit.

Query:

image

New:
image

Old:
image

What this PR does not do:

  • Order new tree rank columns by rank id. Should this be a new issue, Or in this PR?

Checklist

  • Self-review the PR after opening it to make sure the changes look good and
    self-explanatory (or properly documented)
  • Add relevant issue to release milestone
  • Add pr to documentation list
  • Add automated tests

Testing instructions

  • Create a query with many fields, including ones from different tables.
    • Fields from different tables shouldn't get grouped together. Test this by putting fields in-between fields belonging to other tables.
    • Also test fields with the same name. Like cataloger last name and determiner last name, for example.
  • Click Batch Edit
  • See that the order stayed the same as in the original query.
  • Make sure there are no glitches when sorting by column, looking at the mapping, editing cells, and searching
  • Create a query with tree fields. Batch edit should prompt you to add missing ranks.
  • See that the order is the same, and all new columns were added to the end.

@alesan99 alesan99 reopened this Apr 24, 2026
@alesan99 alesan99 modified the milestones: 7.14.0, 7.12.2 Apr 24, 2026
@alesan99 alesan99 marked this pull request as ready for review April 24, 2026 19:59
@alesan99 alesan99 requested review from a team April 24, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅Done

Development

Successfully merging this pull request may close these issues.

Batch Edit columns are presented in a different order than the query

1 participant