OrchardCore icon indicating copy to clipboard operation
OrchardCore copied to clipboard

Add content type filter for ListPart administration

Open xtomas opened this issue 3 months ago • 3 comments

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 Image

You can select content type for apply filter Image

After clicking on content type, filter will be applied in the same way as actually status works. Image

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.

xtomas avatar Oct 02 '25 16:10 xtomas

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.

github-actions[bot] avatar Oct 02 '25 17:10 github-actions[bot]

Please send your PR, we may be nice, or not

sebastienros avatar Oct 02 '25 17:10 sebastienros

Also, come to Harvest, it'll be in your neighborhood :). https://orchardcore.net/harvest

Piedone avatar Oct 06 '25 20:10 Piedone