[Product-Developers] New collection

Mikel Larreategi mlarreategi at codesyntax.com
Fri Jun 8 05:46:53 UTC 2012


2012/6/8 Alejandro Pereira <alepereira86 at gmail.com>:
> Hi all.
>
> I'm dealing with the new collection content type added in Plone 4.2 (i
> think). I'm having
> the problem that is not sorting the items that i set to it. Example, i
> create a collection
> to sort news item by effective date showing the results in reverse way (the
> most newest
> item at the top). I test this adding 2 news items. In the preview view from
> the edit form sorts
> the items well, but when i go to the standart view (or whatever, the one set
> in the view tab of
> the collection) the items shows always in the same order. Like if the
> collection doesn't have
> a sort defined. I remove the reverse option and gives the same order.
>
> Can someone tell me if i'm doing something wrong? i can't understand what is
> going on in here.
>

This is fixed on trunk but not released yet:

https://github.com/plone/plone.app.collection/tree/1.x



Mikel


-- 
Mikel Larreategi
mlarreategi at codesyntax.com

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80


More information about the Product-Developers mailing list