modcomms/backend/app/models
michael 3b868f7415 Fix proof types not loading for sub-channels in dropdown hierarchy
Replace nested selectinload chain with separate explicit queries for
channels, sub-channels, and proof types. The self-referential
selectinload chain didn't reliably load the third level (proof types)
in async SQLAlchemy.

Also add order_by to DropdownOption.children relationship for
consistent ordering.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 13:01:39 -06:00
..
__init__.py permissions changes 2025-12-18 16:51:27 +00:00
database.py permissions changes 2025-12-18 16:51:27 +00:00
models.py Fix proof types not loading for sub-channels in dropdown hierarchy 2026-01-23 13:01:39 -06:00
schemas.py permissions changes 2025-12-18 16:51:27 +00:00