Skip to content

Fix sort ordering and table height on welcome page#76

Open
bendichter wants to merge 2 commits intomainfrom
fix/sort-ordering-and-table-height
Open

Fix sort ordering and table height on welcome page#76
bendichter wants to merge 2 commits intomainfrom
fix/sort-ordering-and-table-height

Conversation

@bendichter
Copy link
Member

Summary

  • Fix sort ordering: Use ordering instead of order as the query parameter for the DANDI API (Django REST Framework convention), so sorting by modified date actually works.
  • Fix table container height: Remove maxHeight and inner scroll constraints so the dandiset table fits its content instead of requiring a separate scrollbar.

Test plan

  • Verify clicking the "Modified" column header sorts dandisets by modification date
  • Verify clicking the "ID" column header sorts dandisets by ID
  • Verify the dandiset table displays at full content height without an inner scrollbar

🤖 Generated with Claude Code

bendichter and others added 2 commits March 5, 2026 09:12
Use 'ordering' instead of 'order' as the query parameter for the DANDI
API (Django REST Framework convention), fixing sort-by-modified. Remove
maxHeight and overflow constraints so the dandiset table fits its content.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The table was showing draft_version.modified but the API sorts by the
top-level dandiset.modified field. These dates differ significantly,
making the sort appear broken.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant