[
http://jira.magnolia-cms.com/browse/MAGNOLIA-2458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19092#action_19092
]
Gregory Joseph commented on MAGNOLIA-2458:
------------------------------------------
For the record:
* the generated query looks like {{//[EMAIL
PROTECTED]:primaryType='mgnl:content']//*[jcr:contains(., 'presse')]}} (when
{{useSimpleJcrQuery}} is set back to true)
* Oli said this query, and the probably more correct {{//[EMAIL
PROTECTED]:primaryType='mgnl:dataItem']//*[jcr:contains(., 'presse')]}} both
returned results from the jcr query tool.
* {{useSimpleJcrQuery}} apparently had no impact on the results
As a side note, I'm no xpath-query expert, but I wonder if the first selector
on primaryType has any use at all.
> CMSU:SimpleSearch - not working for data items
> ----------------------------------------------
>
> Key: MAGNOLIA-2458
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2458
> Project: Magnolia
> Issue Type: Bug
> Components: taglibs
> Affects Versions: 3.6.3
> Reporter: Olivier Marti
> Assignee: Fabrizio Giustina
>
> Using the simpleSearch taglib doesn't working for searching items out of the
> data workspace, while a similar query in the JCR-Query Tool does returning me
> an entry.
> That's what my tag looks like:
> <cmsuimpleSearch query="presse" var="results" repository="data"
> useSimpleJcrQuery="false" itemType="mgnl:dataItem"/>
> No errors are shown in the log, just no entries returned.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------