This PR fixes a bug in which rearranging the order of a subcollection would something cause collection.yml information to disappear. This issue was caused by us using includes instead of startsWith to find the list of entries which belonged to the subcollection, which subsequently caused related names to disappear (e.g. changing the order of Curriculum would cause Co Curriculum to also match this criteria, and hence Co Curriculum would disappear)
This PR fixes a bug in which rearranging the order of a subcollection would something cause collection.yml information to disappear. This issue was caused by us using
includes
instead ofstartsWith
to find the list of entries which belonged to the subcollection, which subsequently caused related names to disappear (e.g. changing the order ofCurriculum
would causeCo Curriculum
to also match this criteria, and henceCo Curriculum
would disappear)