Skip to content

Commit 0219eec

Browse files
committed
revert
1 parent 72dbd32 commit 0219eec

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

coldfront/config/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
ALLOCATION_FUNCS_ON_EXPIRE = [
4646
"coldfront.core.allocation.utils.test_allocation_function",
4747
]
48+
ALLOCATION_RESOURCE_ORDERING = ENV.list("ALLOCATION_RESOURCE_ORDERING", default=["-is_allocatable", "name"])
4849

4950
# This is in days
5051
ALLOCATION_DEFAULT_ALLOCATION_LENGTH = ENV.int("ALLOCATION_DEFAULT_ALLOCATION_LENGTH", default=365)

coldfront/core/allocation/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
ALLOCATION_ATTRIBUTE_VIEW_LIST = import_from_settings("ALLOCATION_ATTRIBUTE_VIEW_LIST", [])
2727
ALLOCATION_FUNCS_ON_EXPIRE = import_from_settings("ALLOCATION_FUNCS_ON_EXPIRE", [])
28-
ALLOCATION_RESOURCE_ORDERING = import_from_settings("ALLOCATION_RESOURCE_ORDERING", ["-is_allocatable", "name"])
28+
ALLOCATION_RESOURCE_ORDERING = import_from_settings("ALLOCATION_RESOURCE_ORDERING")
2929

3030

3131
class AllocationPermission(Enum):

0 commit comments

Comments
 (0)