Hi,
I’m having a problem with pagination in AAF when I include active record
conditions in the results. Basically, it lists all the results on page
1, then pages after that may or may not even display. As far as I can
tell, everything is up to date.
archive_limit = 1.year.ago.to_date
@results = ActsAsFerret::find(params[:q],
[Page, Article],
{:page => params[:page], :per_page => 10},
{:conditions => {:article=>["published_on
?", archive_limit],
:page=>[“published_on >
?”, archive_limit]
}
}
)
Extra info - this is failing using ferret_server and ferret v0.11.6
Please help!