- ABP Framework version: v4.4.X
- UI type: MVC
- DB provider: EF Core / MongoDB
- Tiered (MVC) or Identity Server Separated (Angular): yes (Microservice Template)
- Exception message and stack trace:
- Steps to reproduce the issue:"
We have a Page where we have multiple Navigation Properties to the Entity, We woud like to have a Search (Free text) & Sorting on Navigation property columns. Is it supported in current version?
I saw a related post https://support.abp.io/QA/Questions/829/MongoDB-repository-and-use-of-the-aggregation-framework-for-sorting-and-inclusion-of-navigation-properties so would like to get a clarification on the approch to fullfill our requirement.
6 Answer(s)
- 
    0Hi, https://github.com/abpframework/abp/blob/48c52625f4c4df007f04d5ac6368b07411aa7521/framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDB/IMongoDbRepository.cs#L28 We have provided the GetAggregateAPI, you can use it to do anything mongodb can do
- 
    0Hi, https://github.com/abpframework/abp/blob/48c52625f4c4df007f04d5ac6368b07411aa7521/framework/src/Volo.Abp.MongoDB/Volo/Abp/Domain/Repositories/MongoDB/IMongoDbRepository.cs#L28 We have provided the GetAggregateAPI, you can use it to do anything mongodb can doThanks for the response, We will check and let you in case of any concerns, In Meantime if u have any working sample that would be helpful. 
- 
    0Reopen if you don't resolve the problem. 
- 
    0Reopen if you don't resolve the problem. Hi @maliming do you have any sample for this? 
- 
    0hi viswajwalith Sorry, I'm not good at MongoDb. 
- 
    0hi viswajwalith Sorry, I'm not good at MongoDb. No worries, If possible we will try to provide some inputs if we are able to break it out 
 
                                