Author: michiel
Date: 2010-03-17 14:37:41 +0100 (Wed, 17 Mar 2010)
New Revision: 41468
Modified:
mmbase/trunk/applications/taglib/src/main/resources/META-INF/tags/mm/u/relation.tagx
Log:
if between 2 node happen to exist more than one relation, at least always
return the same one
Modified:
mmbase/trunk/applications/taglib/src/main/resources/META-INF/tags/mm/u/relation.tagx
===================================================================
---
mmbase/trunk/applications/taglib/src/main/resources/META-INF/tags/mm/u/relation.tagx
2010-03-17 13:36:29 UTC (rev 41467)
+++
mmbase/trunk/applications/taglib/src/main/resources/META-INF/tags/mm/u/relation.tagx
2010-03-17 13:37:41 UTC (rev 41468)
@@ -15,6 +15,7 @@
<mm:listrelationscontainer role="${role}" type="object"
searchdir="${searchdir}" >
<mm:addnode element="object" number="${to}" />
+ <mm:sortorder field="${empty role ? 'insrel' : ''}${role}.number" />
<mm:listrelations>
<mm:node id="thenode" />
</mm:listrelations>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs