Changeset 1690

Show
Ignore:
Timestamp:
05/01/08 11:11:46 (2 weeks ago)
Author:
neuro
Message:

Fixes ticket #1223 with tags brocken under pgsql.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/models/tag.rb

    r1688 r1690  
    4343      GROUP BY tags.id, tags.name, tags.display_name 
    4444      ORDER BY #{orderby}  
    45       LIMIT ?, ?  
    46       },true, start, limit]).each{|item| item.article_counter = item.article_counter.to_i } 
     45      LIMIT ? OFFSET ?  
     46      },true, limit, start]).each{|item| item.article_counter = item.article_counter.to_i } 
    4747  end 
    4848