mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Sort tag folder inline avatars too
This commit is contained in:
@ -1465,6 +1465,9 @@ export function getEntitiesList({ doFilter = false, doSort = true } = {}) {
|
|||||||
// sub entities filter "hacked" because folder filter should not be applied there, so even in "only folders" mode characters show up
|
// sub entities filter "hacked" because folder filter should not be applied there, so even in "only folders" mode characters show up
|
||||||
subEntities = entitiesFilter.applyFilters(subEntities, { clearScoreCache: false, tempOverrides: { [FILTER_TYPES.FOLDER]: FILTER_STATES.UNDEFINED } });
|
subEntities = entitiesFilter.applyFilters(subEntities, { clearScoreCache: false, tempOverrides: { [FILTER_TYPES.FOLDER]: FILTER_STATES.UNDEFINED } });
|
||||||
}
|
}
|
||||||
|
if (doSort) {
|
||||||
|
sortEntitiesList(subEntities);
|
||||||
|
}
|
||||||
entity.entities = subEntities;
|
entity.entities = subEntities;
|
||||||
entity.hidden = subCount - subEntities.length;
|
entity.hidden = subCount - subEntities.length;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user