Bug #222
delicious items aren't properly sorted
| Status : | Closed | Start : | ||
| Priority : | Normal | Due date : | ||
| Assigned to : | scoop - | % Done : | 0% |
|
| Category : | backend | |||
| Target version : | release2 | |||
| Resolution : | fixed |
Description
delicious items aren't properly sorted
Associated revisions
Revision 7c46514796de964c461af20ef75dd97a5f4af647
Closes #222
Which means that you can now post an article with a creation date some time
in the future and it won't appear in your blog until that point.
For bonus points, so long as you are using action caching instead of page
caching (and you should be!), the cache will be expired correctly.
Essentially, every cachable request checks for the next article in the future
and sets response.lifetime to that point. Which means that the cache expires
just before the article is due to show, et voila!
The admin interface for this is the same as it ever was, you have to click on
advanced options and set the created_at value appropriately. Patches are
welcome if you have better interface ideas.
git-svn-id: http://svn.typosphere.org/typo/trunk@905 820eb932-12ee-0310-9ca8-eeb645f39767
