Skip to content

Commit

Permalink
Readme in markdown formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
spint committed Jul 9, 2009
1 parent 0b34721 commit deabfab
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 34 deletions.
33 changes: 33 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## Activescaffold Advanced Search Plugin

Enables you search on specific fields:
* search on string, text, integer and boolean columns
* only "AND" conditions...




#### Usage

Add the following to your application.rb (or application_controller.rb for rails > 2.3)

ActiveScaffold.set_defaults do |conf|
conf.actions.exclude :search
conf.actions.add :advanced_search
end


This will activate the advanced search plugin for all your controllers.

Ofcourse, you can also do this only for a specific controller.



#### TODO

* search on date columns
* grouping of conditions (AND / OR)



#### WARNING: Does not work with Prototype 1.5.0 due to an error in how it serializes forms. Has been tested with 1.6.0.2.
34 changes: 0 additions & 34 deletions README.textile

This file was deleted.

0 comments on commit deabfab

Please sign in to comment.