diff options
| author | hukl <contact@smyck.org> | 2009-09-17 12:03:28 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-17 12:03:37 +0200 |
| commit | bd408aaae6d7a20fecc7673d807d3c88392cf516 (patch) | |
| tree | 0629c9fa5997bd21677c310130ad46942e2c6ace /app | |
| parent | c7b11c1ba050e23ea460e26073beba5b7f15c0f1 (diff) | |
switched tagging plugin again for postgresql compatibility
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/page.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/page.rb b/app/models/page.rb index 2641316..29fcae6 100644 --- a/app/models/page.rb +++ b/app/models/page.rb | |||
| @@ -62,7 +62,7 @@ class Page < ActiveRecord::Base | |||
| 62 | 62 | ||
| 63 | Page.heads.find_tagged_with( | 63 | Page.heads.find_tagged_with( |
| 64 | options[:tags].gsub(/\s/, ", "), | 64 | options[:tags].gsub(/\s/, ", "), |
| 65 | :match => :all, | 65 | :match_all => true, |
| 66 | :order => "#{options[:order_by]} #{options[:order_direction]}" | 66 | :order => "#{options[:order_by]} #{options[:order_direction]}" |
| 67 | ).paginate(:page=>page, :per_page => options[:limit]) | 67 | ).paginate(:page=>page, :per_page => options[:limit]) |
| 68 | 68 | ||
