on 11-20-2012 1:27 PM
Hello Experts!
In a custom search-result screen, after a search, if I use filter on the screen and filter out result values and again perform search, the filter is not getting removed. The subsequent search results are all having the filter. I have to manually go and remove the filter to remove it. Is there a way to clear the filter values at a new search? I tried using the delete_filter method in the result view do_prepare_output method. But the filter is still not getting removed. Please give some suggestions.
Regards,
Heera
Hi Ramanunny,
delete_filter method usually removes all the filter. Have you checked wthr this method is getting called from do_prepare_output or not?
Also note ,while selecting on filter CL_BSP_WD_CONTEXT_NODE_TV->EH_ON_FILTER( ) method is getting triggered.
Regards
Rajarama U
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Heera,
The clear button functionality is used for this reason.After completing a search,try "clear" before you enter
the next criteria.
Clear will reset the filters and sorts
Regards,
Reshma Rao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Heera,
I remember we had a problem that the "filter is not getting retained in 7.0 for a fresh search" - which is the functionality you desire.
So as you are saying it is a custom search there is a probability that the filter criteria is being stored and being applied on result every time. Just debug by putting a break point in do_handle_event .
Regards
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
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.