![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.1.1 |
|
Assignee:
|
Will Scheidegger
|
|
Created:
|
04/Jun/13 6:56 PM
|
|
Description:
|
Product List Order displayed in a component is not the same as the one in the JCR browser.
This seems to come from class "ShopProductAccesor". An SQL query is used to retrieve the products:
String query = "select * from [mgnl:contentNode] as productsSubNode where ISDESCENDANTNODE('" + ShopUtil.getPath("shopProducts", shopName) + "') and contains(productsSubNode.*, '" + productCategory + "')";
This query does NOT return the list of products in the same order as the one displayed in the JCR browser.
Note: Not sure if using SQL queries ever works to display get data in the order it is displayed in the JCR. I could not find anything about it.
|
|
Project:
|
Magnolia Shop
|
|
Labels:
|
shop
|
|
Priority:
|
Neutral
|
|
Reporter:
|
adrien beber
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------