Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom fields ui: add sorting by title #2910

Conversation

anikachurilova
Copy link
Member

@@ -291,6 +291,9 @@ def load_custom_fields():
if field_error_label:
error_labels[f"custom_fields.{field['field']}"] = field_error_label
if getattr(field_instance, "relation_cls", None):
sort_by = field.get("props", {}).get("sort_by")
if sort_by:
field_instance.sort_by = sort_by
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@jrcastro2 jrcastro2 left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@jrcastro2 jrcastro2 merged commit b32fade into inveniosoftware:master Nov 15, 2024
4 checks passed
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.

Departments vocabulary is not showing up ordered
2 participants