Complete source mutations (#567)

This commit is contained in:
Mitchell Syer
2023-06-05 09:19:03 -04:00
committed by GitHub
parent 300c0a8f35
commit 7c3eff2ba7
5 changed files with 161 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ object Search {
return filterList
}
private fun buildFilterList(sourceId: Long, changes: List<FilterChange>): FilterList {
fun buildFilterList(sourceId: Long, changes: List<FilterChange>): FilterList {
val source = getCatalogueSourceOrStub(sourceId)
val filterList = source.getFilterList()
return updateFilterList(filterList, changes)