diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_zGetImplicitPredecessorValueList.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_zGetImplicitPredecessorValueList.xml index db4386a3451d5f648bd042a994319b5b85c6dcef..5ced681bbec16c5149a60372ae06a30ff7d6f12f 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_zGetImplicitPredecessorValueList.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/Base_zGetImplicitPredecessorValueList.xml @@ -64,8 +64,8 @@ SELECT path, uid\n FROM\n (\n SELECT DISTINCT\n -path,\n -(select uid from catalog where catalog.path=sub.path) as uid\n +sub.path,\n +uid\n FROM\n ( SELECT\n @current_path:=IF(@current_reference = reference, @current_path, path) AS path,\n @@ -92,7 +92,7 @@ FROM\n ORDER BY reference, language_order DESC, version DESC, revision DESC\n ) AS innersub\n )\n -AS sub\n +AS sub inner join catalog on catalog.path = sub.path\n )\n AS main\n WHERE\n @@ -101,6 +101,7 @@ LIMIT 1000\n \n </dtml-let>\n </dtml-let>\n +\n ]]></string> </value> diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index 3720c6ff490d53877dea721dcee9e7ae2233aca2..1ab8b271304518b851cb7821cfba55fd88fb8b0e 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -1272 \ No newline at end of file +1273 \ No newline at end of file