Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

Commented Feature: Feature request: sorting in page folders/data items [619]

$
0
0
Often I have a field by which I define an order in which data will be rendered on front-end, it would be nice to set do it in administration part without effort of writing own data providers/xml tree definitions
Comments: ** Comment from web user: mawtex **

I have started on this feature:

Data Type Editor will sport at "Tree Sorting" selector where you can choose to sort by a field. You can choose between ascending/descending. You can also choose a 2nd (etc.) field to sort by in case you have duplicates in the primary sort field.

For devs doing data types at code level there will be a new attribute like this:

´[TreeOrderingAttribute(int orderPriority, bool orderDescending)]´

Both will control the sorting in global data folders and page data folders.

No sweet drag/drop or similar interface to manipulate field values yet (still something a user needs to update via edit form or by using the C1Contrib feature mentioned below), but this should take care of the tree rendering, i.e. remove the need for creating a custom Tree Definition.


Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>