support more order key ([order1-[order2-][...]]name)

This commit is contained in:
slore 2025-01-31 15:29:59 +08:00
parent 305760d616
commit aebb0435c7

View File

@ -114,7 +114,7 @@ var Project = {
name = patch_name;
}
} else {
var pos = name.indexOf('-');
var pos = name.lastIndexOf('-');
if (pos >= 0) name = name.substring(pos + 1);
}
if (patch_opened != null) state_opened = patch_opened;