Item14364: RenderWikiApplicationWebHome has incorrect query with default install

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release:
Applies To: Extension
Component: WikiWorkbenchContrib
Branches:
Reported By: BramVanOosterhout
Waiting For:
Last Change By: MichaelDaum
Line 45 in WikiWorkbenchContrib/data/Applications/RenderWikiApplicationWebHome.txt is:
query="%IF{"'%URLPARAM{"q"}%'!=''" then="TopicType=~'%URLPARAM{"q"}%'" else="topic='.*'"}%"

The else query topic='.*' is correct for connector='dbcache'

The default connector is search. The search query syntax is name~'*'

I suggest the connector is made explicit as: connector='dbcache'

Or line 45 is changed to:
query="%IF{"'%URLPARAM{"q"}%'!=''" then="TopicType=~'%URLPARAM{"q"}%'" else="name~'*'"}%"

-- BramVanOosterhout - 31 Mar 2017

Please switch to dbcache as this is required for the WikiWorkbenchContrib anyway.

-- MichaelDaum - 31 Mar 2017
 
Topic revision: r3 - 12 Dec 2017, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy