mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 19:57:29 +01:00
parent
e94ff23bb9
commit
af3c4fe987
@ -207,7 +207,8 @@ def handle_create_edit(collection: Collection, form: CollectionForm,
|
||||
link.description = form.descriptions[i].data
|
||||
|
||||
for i, package_id in enumerate(form.order.data.split(",")):
|
||||
link_lookup[package_id].order = i + 1
|
||||
if package_id != "":
|
||||
link_lookup[package_id].order = i + 1
|
||||
|
||||
add_audit_log(severity, current_user,
|
||||
f"Edited collection {collection.author.username}/{collection.name}",
|
||||
|
Loading…
Reference in New Issue
Block a user