on 2024 Aug 02 12:21 PM
lets say I have 6 search restriction about to apply on flexi query.
I want to disable one of them during flexi. How can I go through.
I dont see any specific method in SearchRestrictionService. But one approach I am considering is to find all and filter the one I need and disable it.
You are on the right track.
Search for the SearchRestrictionS to disable using DefaultSearchRestrictionService.getActiveSearchRestrictions, DefaultSearchRestrictionService.getSearchRestrictionsForType, or the other methods. Then, disable the search restrictions inside sessionService.executeInLocalView.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.