Skip to content

Fixes #915: Sorting exposed functions by their coded order not alphabetical#1024

Merged
mmzeynalli merged 1 commit intomainfrom
bugfix/915-first-expose-as-indentity
Apr 18, 2026
Merged

Fixes #915: Sorting exposed functions by their coded order not alphabetical#1024
mmzeynalli merged 1 commit intomainfrom
bugfix/915-first-expose-as-indentity

Conversation

@mmzeynalli
Copy link
Copy Markdown
Member

  1. Sorting exposed functions by their coded order, not default alphabtical Now first exposed function is the identity of the custom view.
  2. Added more test for uuid PK as per Regression: TypeError with UUID primary keys in 0.22.0: issubclass() arg 1 must be a class #981

1. Sorting exposed functions by their coded order, not default alphabtical
  Now first exposed function is the identity of the custom view.
2. Added more test for uuid PK as per #981
Comment thread tests/test_models.py
def test_count_query() -> None:
class AddressAdmin(ModelView, model=Address):
...
class AddressAdmin(ModelView, model=Address): ...
@mmzeynalli mmzeynalli added the ready-to-merge Approved and ready to merge. Will be published with the next release. label Apr 5, 2026
@mmzeynalli mmzeynalli changed the title Fixes #915 Fixes #915: Sorting exposed functions by their coded order not alphabetical Apr 5, 2026
@mmzeynalli mmzeynalli merged commit d9c536b into main Apr 18, 2026
14 checks passed
@mmzeynalli mmzeynalli deleted the bugfix/915-first-expose-as-indentity branch April 18, 2026 00:57
@mmzeynalli mmzeynalli mentioned this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Approved and ready to merge. Will be published with the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Menu link for BaseView is determined by last @expose method (by alphabetical order), not by explicit identity or first @expose

1 participant