[Product-Developers] How to search and sort content based on owner last login time?
lists at zopyx.com
Sun May 13 04:11:29 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
> I would like to hear any suggestion and comment on how to do this.
> First, I will create a property/field somewhere to update the user
> login time (probably a property on user metadata). They I want to
> present contents sorted on user's last login time. So the contents
> made by the most recently login user will be listed first. (then, I
> would sort contents from the same user by modification date. I think
> AdvancedQuery can do multiple index sort.)
> Is this possible with zcatalog? Or do I have to go with relational
Weird idea. Getting hold of content objects created or modified after
some given date is nothing like a standard range search using the
ZCatalog. Where and why would one need a RDBMS here? Where would and
why would one need a JOIN here? Sorting on multiple criteria is both
doable with AdvancedQuery and sequence.sort()....so your question is?
Everything is doable with the base functionality of Plone. Why do you
need something different? The solution is at your finger tips...your
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 310 bytes
Desc: not available
More information about the Product-Developers