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

New Post: Better sorting of Pages plus datatypes

$
0
0
Somehow i forgot to commit and push a change i made to the Sorting package long time ago. In short, its possible to filter the instances of a given type when you want to sort. Its not super optimized since it happens in-memory using reflection, maybe someone wants to push a optimization which uses Expression Trees? :)

Usage is quite simple when using with CustomUrl's when making Tree Definitions, just pass something like ?type=DIP.Data.Types.IEmployee&filter=IDepartmentId%3Debe6cbe5-c2c4-49a7-bde7-b6ea1d2cfec1

https://bitbucket.org/burningice/compositec1contrib/commits/be940f65fd3d421ba506156cefa6b0590a59c2eb

Viewing all articles
Browse latest Browse all 2540

Trending Articles



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