Forum: Ruby on Rails Active Scaffold search error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
B959af9f63a9988794209c998fa759be?d=identicon&s=25 Ryan Overton (ryanoverton)
on 2007-04-26 23:13
(Received via mailing list)
I have active scaffold searching in fields, which works, but if there is
more than 1 page of results and I click on next, or page 2 , it just
defaults back to the way it was before the search params were put in,
resets the view.  Here is my code:

lass PatronController < ApplicationController
layout "admin"

ActiveScaffold.set_defaults do |config|
    config.actions << :field_search


active_scaffold :book do |config|
config.actions.exclude :delete, :create, :update
config.label = "Books at Highland Park United Methodist Church"
#config.actions << :field_search
#config.actions << :field_search = "Search By Field"
config.columns = [:title, :author, :publisher, :dewey, :callletter,
config.list.columns.exclude :description, :publisher, :callletter
#config.list.sorting = {:title  => 'ASC'}

This topic is locked and can not be replied to.