forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: onr on October 13, 2005, 02:16:16 am

Title: ctime and last uploads
Post by: onr on October 13, 2005, 02:16:16 am
Hi,

I want a recently uploaded picture to appear further down in the 'last uploads' and so I changed the 'ctime' field in the cpg_pictures table of the database to an earlier date (which I took from an older picture). However, when I now click on last uploads the changed picture is still among the first twelve although its ctime is changed and it now displays an older time below the thumbnail. What else do I need to change so that it is really moved back in time ....
Many thanks
Oliver
Title: Re: ctime and last uploads
Post by: onr on October 13, 2005, 02:35:29 am
OK I just solved it. Apart from ctime you also need to change PID since that seems to be used for the sorting of the pics.
Sorry for wasting this space ..
Olli
Title: Re: ctime and last uploads
Post by: Tranz on October 13, 2005, 04:32:39 am
As long as you share the solution, it's not a waste since someone else might benefit from the thread. Thanks.