-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry but you don't know what you are doing. You retrieve the last_login
time *once* and pass the value to a date range query.
That's it - nothing more, nothing less.
- -aj
zjs2k wrote:
Sorry I didn't make it clear. I want to list and sort contents
Lots of ways to skin this cat.
You can just store login times as user metadata but if this is a very busy
site, with many login events, I would lean toward keeping the login times
updated in an external key/value store to avoid ZODB bloat. In either case,
just sort your catalog results by
I probably don't know what I am doing. I still got a lot to learn. But I
think I see what is the confusing part here. I am not trying to login and
see new content since my last login time. Instead, I want to see all the
contents created by other users, and the contents are sorted based those
Thanks for the code. It will do exactly what I want. But I also have the
performance concern if I have to sort thousands or more items. Maybe I
should just iterate through the ordered users and do multiple catalog
searches on Creator index. Use ajax on the page to delay display so I
probably won't
Andreas,
This list is aimed at assisting product developers whatever their level of
experience. Please keep your answers constructive!
Laurence
ajung wrote
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry but you don't know what you are doing. You retrieve the last_login
time *once*
On 14/05/2012, at 4:14 AM, Andreas Jung li...@zopyx.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry but you don't know what you are doing. You retrieve the last_login
time *once* and pass the value to a date range query.
That's it - nothing more, nothing less.
He wants to
Dylan Jay wrote
On 14/05/2012, at 4:14 AM, Andreas Jung lt;lists@gt; wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry but you don't know what you are doing. You retrieve the last_login
time *once* and pass the value to a date range query.
That's it - nothing more, nothing
On 14/05/2012, at 10:25 AM, Laurence Rowe wrote:
Dylan Jay wrote
On 14/05/2012, at 4:14 AM, Andreas Jung lt;lists@gt; wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry but you don't know what you are doing. You retrieve the
last_login
time *once* and pass the value to a date