-
Hi, My specific case:
In my CategoryAdmin ModelView I have tried:
I have also defined a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, The first approach is not clear to me, how do you want to sort by The second approach is not possible in SQLAlchemy, so you can't do: column_sortable_list = [Category.project.name] It should be supported with |
Beta Was this translation helpful? Give feedback.
Hey,
The first approach is not clear to me, how do you want to sort by
Category.project
? It should be with some attribute, right?The second approach is not possible in SQLAlchemy, so you can't do:
It should be supported with
column_sortable_list = ["project.name"]
but that's not available yet. Feel free to add this feature otherwise I'll get to it later.