Saved search view not showing proper view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017 10:48 AM
Hi, I have saved 2 search,
- search1 : having some filter (ex.Modification Date : Last 24h (0) )
- search2 : having some filter (ex.Size : Less than 100 KB (1) )
These 2 search come in Search Filter drop-down present at top left corner in Search tab under Saved Searches. Suppose Quick Search is selected First time, then I select search1 it shows correct filter applied with correct result. After that I have selected search2, then it is showing result of search1 i.e. UI is not properly Updated. Then again I selected search1 , at that time it shows result of search2 i.e. UI is showing data from last selected option, not from current selected option. Try this by creating 2 different search.
Can any one solve this!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2017 09:53 AM
Hi, I have solve this issue by changing code SearchUIActions.java of bundle nuxeo-search-ui. in this file I have change method refreshAndRewind() as follows:
public void refreshAndRewind() { String contentViewName = getCurrentContentViewName(); if (contentViewName != null) { contentViewActions.refreshAndRewind(contentViewName); resetCurrentContentViewWorkingList(); //code added for saved search UI issue try { FacesContext.getCurrentInstance().getExternalContext().redirect(getSearchPermanentLinkUrl()); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } //code added for saved search UI issue } }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2017 09:55 AM
Hi,
This is a known bug https://jira.nuxeo.com/browse/NXP-21937 that should be fixed soon
