MBS-13870: Add filter for recordings unlinked to works #3443
+83
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement MBS-13870
Description
This allows filtering an artist's recording list by whether the recordings have at least one work linked to them, or they have none.
This is admittedly mostly useful for editing, but it can be very useful for that, allowing users to easily find recordings that still need work relationships - it would make it much easier to improve the discographies of prolific classical performers, such as orchestras and conductors, and probably be of use also for popular music.
I did consider making it more complicated (to allow filtering by writer of the linked works, for example) but that's a lot more work and I was afraid that it would get crazy and unwieldy anyway for something like the Berliner Philharmoniker (which is the kind of artist where it could theoretically be useful). So for now, this is a simple "has linked works / has no linked works", which I'd love to use to clean stuff up.
Testing
Manually first, and added tests for this to the sprawling
Filtering
test.