how can i change the content view for a simple search?

Hi people!…. How can i Change, using nuxeo studio, the content view for the simple search in nuxeo 5.4.2?

Thanks in advance.

0 votes

1 answers

881 views

ANSWER



This content view definition is visible here.

With Studio, you will just need to override this “simple_search” query with your content view.

For your information the simple_search content view values are:

  • query filter: SELECT * FROM Document WHERE ecm:fulltext LIKE ? AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted'
  • Parameter: #{documentSearchActions.simpleSearchKeywords}

So, just change the query filter with the filter you want.

For the others values, you can choose columns displayed, etc… Like all content views.

1 votes