Skip to content

Commit 0eeec69

Browse files
authored
Merge branch 'master' into recordlandingpage_funding-display
2 parents b503c10 + d95bce7 commit 0eeec69

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

invenio_app_rdm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
#
1818
# See PEP 0440 for details - https://www.python.org/dev/peps/pep-0440
1919

20-
__version__ = "13.0.0b1.dev17"
20+
__version__ = "13.0.0b1.dev18"
2121

2222
__all__ = ("__version__",)

invenio_app_rdm/config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,10 @@ def files_rest_permission_factory(obj, action):
429429
"task": "invenio_accounts.tasks.delete_ips",
430430
"schedule": timedelta(hours=6),
431431
},
432+
"update_domain_status": {
433+
"task": "invenio_accounts.tasks.update_domain_status",
434+
"schedule": timedelta(hours=4),
435+
},
432436
"draft_resources": {
433437
"task": ("invenio_drafts_resources.services.records.tasks.cleanup_drafts"),
434438
"schedule": timedelta(minutes=60),

invenio_app_rdm/records_ui/views/deposits.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ def load_custom_fields():
291291
if field_error_label:
292292
error_labels[f"custom_fields.{field['field']}"] = field_error_label
293293
if getattr(field_instance, "relation_cls", None):
294+
sort_by = field.get("props", {}).get("sort_by")
295+
if sort_by:
296+
field_instance.sort_by = sort_by
294297
# add vocabulary options to field's properties
295298
field["props"]["options"] = field_instance.options(g.identity)
296299
# mark field as vocabulary

0 commit comments

Comments
 (0)