Filter data source to display all bar most recent entry
This is an open discussion with 6 replies, filed under General.
Search
Hmm maybe you could use 'paginaton' you set to select 99999 entries (to simulate all) but then choose to start from entry 1/2 not sure if its index 1 or 0
Thanks, gunglien; I don't see how I can choose to start at entry 2 in the pagination section, though. Am I being stupid?
The extra overhead is minimal when it's only one entry. The method you're already using is how I achieve it.
Thanks designermonkey; does that mean there isn't really a way to do it by filtering the ds – just curious.
Well you could customise your DS to take the returned XML Element Object and strip off the first entry object, but that's a bit overkill for one entry.
I could show you how to do it though if you wanted?
If it wasn't too much trouble, I'd love you to show me how to do it. Just for fun, though; I like knowing what the possibilities are.
Cheers.
Create an account or sign in to comment.
Is it possible to filter a data source to return all entries apart from the most recent one? Currently I'm achieving it in XSLT (
position() > 1
) but wondered if I could do it sooner so I don't have the extra entry overhead.Thanks, D