Feature #81

[PATCH] Ability to Mark an Article as "Published" or not

Added by shalevn-gmail-com - 1301 days ago. Updated 616 days ago.

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 mentions above.

07/23/2005 08:12 PM - tobi -

  • Status changed from New to Closed
  • Resolution set to fixed

(In r370) Articles can now be posted without being published (closes #104)

Also available in: Atom PDF