Add content type filter for ListPart administration
Is your feature request related to a problem?
My feature request is related to my business task in my project. I need to deal with two content types in ListPart, where there could be more than 100 items of both types. So I need filtering by content type to simplify administration of ListPart.
Describe the solution you'd like
My idea is to extend existing simple filtering inside ListPartDetailAdminSearchPanel view, so I need also extend LisrtPartFilterViewModel, ContainedItemOptions and of course ListPartDisplayDriver and ContainerService. Everything in OrchardCore.Lists module.
My PoC implementation look like this
You can select content type for apply filter
After clicking on content type, filter will be applied in the same way as actually status works.
I have prepared code changes and I am able to create pull request. I expect some problems but I need this functionality. I do not see any way to extend ListPart functionality without make changes into orchard core code repository. I also thing it can be useful for others, even actual filters implementation is very simple.
Describe alternatives you've considered
The only alternative I've considered is much more complex for me, may be too complex. My idea was to implement similar functionality for ListPart items display as actually is in Content Items management. It should be extendable as content items management is. It means for UI extensibility as for query filtering extensibility.
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
Please send your PR, we may be nice, or not
Also, come to Harvest, it'll be in your neighborhood :). https://orchardcore.net/harvest