Skip to content

Commit

Permalink
Another attempt at solving publiclab#259
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreyanth committed Mar 30, 2015
1 parent 0b94980 commit 436fb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/wiki_controller.rb
Expand Up @@ -220,7 +220,7 @@ def revision

def index
@title = "Wiki"
@wikis = DrupalNode.includes(:drupal_node_revision,:drupal_node_counter).where("status = 1 AND node.nid != 259 AND (type = 'page' OR type = 'tool' OR type = 'place')").order("node_revisions.timestamp DESC").paginate(:page => params[:page])
@wikis = DrupalNode.includes(:drupal_node_revision,:drupal_node_counter).find(:all, :order => "node_revisions.timestamp DESC", :conditions => ["status = 1 AND (type = 'page' OR type = 'tool' OR type = 'place')"]).paginate(:page => params[:page])
@paginated = true
end

Expand Down

0 comments on commit 436fb60

Please sign in to comment.