To edit pages or tickets please login with username/password: aaf/aaf

Changeset 231

Show
Ignore:
Timestamp:
08/27/07 19:42:20 (1 year ago)
Author:
jk
Message:

comment

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plugin/acts_as_ferret/lib/class_methods.rb

    r226 r231  
    212212      if find_options[:conditions] 
    213213        if options[:limit] != :all || options[:page] 
    214           # correct result size if the user specified conditions 
    215           #  wenn conditions: options[:limit] != :all --> ferret-query mit :all wiederholen und select count machen 
     214          # correct result size if the user specified database conditions by 
     215          # removing the ferret limit to get the complete ferret result set so  
     216          # we can ask the database for the total size of the result set. 
    216217          result_ids = {} 
    217218          find_id_by_contents(q, options.update(:limit => :all)) do |model, id, score, data| 

To edit pages or tickets please login with username/password: aaf/aaf