<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Freemarker sorting on nested properties in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20452#M9579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was almost getting crazy with this till I found your post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2008 22:24:58 GMT</pubDate>
    <dc:creator>tfpadilla</dc:creator>
    <dc:date>2008-08-26T22:24:58Z</dc:date>
    <item>
      <title>Freemarker sorting on nested properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20450#M9577</link>
      <description>Hey guys, quick question.I have a template which displays documents in the current space.I'd like these documents sorted by a custom property, 'order_number';I can access the property to be displayed like this: ${child.properties["sm&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rder_number"]}Can anyone tell me how i would sort by this propert</description>
      <pubDate>Mon, 05 Jun 2006 11:25:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20450#M9577</guid>
      <dc:creator>ajshaw</dc:creator>
      <dc:date>2006-06-05T11:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker sorting on nested properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20451#M9578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm posting this for the benefit of anyone who may be searching the forums with the same problem (i see a couple of old threads asking the same question).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems all that was wrong was that i needed to use "s rather than 's.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following works fine :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;#list theList?sort_by(["properties","sm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rder_number"]) as child&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 08:01:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20451#M9578</guid>
      <dc:creator>ajshaw</dc:creator>
      <dc:date>2006-06-14T08:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker sorting on nested properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20452#M9579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was almost getting crazy with this till I found your post.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 22:24:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20452#M9579</guid>
      <dc:creator>tfpadilla</dc:creator>
      <dc:date>2008-08-26T22:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker sorting on nested properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20453#M9580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this post was very helpfull!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way the user could sort the items in my&amp;nbsp; FTL template ? e.g. by clicking the row title&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 09:43:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20453#M9580</guid>
      <dc:creator>trelofysikos</dc:creator>
      <dc:date>2009-04-28T09:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker sorting on nested properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20454#M9581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found here&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Template_Guide#Default_Model" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Template_Guide#Default_Model&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that i could get params from the url like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#assign keys = args?keys&amp;gt;&lt;BR /&gt;&amp;lt;#list keys as arg&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; ${arg}&lt;BR /&gt;&amp;lt;/#list&amp;gt;&amp;nbsp; &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and thought i could get a param about sorting and pass it into Freemarker sort using &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;#list theList?sort_by([${arg}]) as child&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But the get args isn't working for me ? any ideas why that is ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2009 10:54:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20454#M9581</guid>
      <dc:creator>trelofysikos</dc:creator>
      <dc:date>2009-04-28T10:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker sorting on nested properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20455#M9582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;another question.. is there a way to sort in a descending order?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2009 12:57:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20455#M9582</guid>
      <dc:creator>trelofysikos</dc:creator>
      <dc:date>2009-04-29T12:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker sorting on nested properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20456#M9583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;?reverse would sort in descending order&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 18:57:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20456#M9583</guid>
      <dc:creator>jarrett</dc:creator>
      <dc:date>2009-11-25T18:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Freemarker sorting on nested properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20457#M9584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It helped me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 08:19:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/freemarker-sorting-on-nested-properties/m-p/20457#M9584</guid>
      <dc:creator>krups</dc:creator>
      <dc:date>2012-08-15T08:19:06Z</dc:date>
    </item>
  </channel>
</rss>

