Hello, in order to implement your need, you could simply remove the condition based on the space in FAQCode.FAQJSON
:
From: #gridresultwithfilter($request.classname $request.collist.split(",") "" " and doc.fullName<>'FAQCode.FAQTemplate' and doc.space='$!request.space'")
To:
#if ("$!request.space" != '')
#set ($spaceCondition = " and doc.space='$!request.space'")
#end
#gridresultwithfilter($request.classname $request.collist.split(",") "" " and doc.fullName<>'FAQCode.FAQTemplate'$!spaceCondition")
Then {{faq/}}
will display all FAQ entries from all the wiki, and if you need to filter for a space you need to use {{faq filter="space=..."/}}
.
I think it’s worth opening a feature request at FAQ Application - XWiki.org JIRA
Thanks