Skip to content

Disable default ordering in DataTables - #38

Merged
Ulthran merged 1 commit into
mainfrom
codex/remove-default-column-ordering-from-data-table
Sep 12, 2025
Merged

Disable default ordering in DataTables#38
Ulthran merged 1 commit into
mainfrom
codex/remove-default-column-ordering-from-data-table

Conversation

@Ulthran

@Ulthran Ulthran commented Sep 12, 2025

Copy link
Copy Markdown
Contributor

Summary

  • prevent DataTables from defaulting to first-column sort on server-driven tables

Testing

  • black .
  • pytest tests/ (fails: ModuleNotFoundError: No module named 'marc_db')

https://chatgpt.com/codex/tasks/task_e_68c1ce9922948323a265176c31d1eb4e

Copilot AI review requested due to automatic review settings September 12, 2025 15:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Disables the default first-column sorting behavior in DataTables for server-driven tables by setting the order configuration to an empty array.

  • Sets order: [] in the DataTables configuration to prevent automatic sorting on the first column

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Ulthran
Ulthran merged commit ea07778 into main Sep 12, 2025
6 checks passed
@Ulthran
Ulthran deleted the codex/remove-default-column-ordering-from-data-table branch September 12, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants