Feature #81
[PATCH] Ability to Mark an Article as "Published" or not
| Status : | Closed | Start : | ||
| Priority : | Low | Due date : | ||
| Assigned to : | tobi - | % Done : | 0% |
|
| Category : | textfilters | |||
| Target version : | release2 | |||
| Resolution : | fixed |
Description
I wanted a way to work on a post periodically without having to actually publish it. Looking over the db, I noticed the apparently unused "published" field. Fifteen minutes later it was unused no more.
This is my first patch, so please criticize all you like (as if anyone would do otherwise).
History
06/16/2005 08:36 PM - johannes-antiklimax-com -
...you could still search in the archives... eg 2005/05/1.... and it will show up even if it's not 'published'.
06/22/2005 06:51 AM - Redmine Admin
Using ruby 1.8.2 and railes 0.12.1, the patch causes an "ActionView::TemplateError compile error" when compiling _articles.rhtml. Adding parens on the image_tag calls seemes to have fixed it. I'll upload the sample patch so you can compare with the original one.
06/23/2005 07:10 PM - Redmine Admin
I've attached a patch to article.rb to not return unpublished articles in a by-date search (fixes the behavior that johannes@antiklimax.com mentions above.
