Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Correct handling of scope filtering

Choose a tag to compare

@Adarnof Adarnof released this 20 Apr 20:18

When a field is passed a list of models, it coerces them into database values by collecting their primary keys. In v1.4.8 I changed the scope query to search by scope name, so when looking for integers it found no scopes. This lead to the deduplication method incorrectly identifying the first token with the same number of scopes for a given character as equivalent as it did not have the actual scope models to filter by, replacing it with the newly created token.