
Clone this issue
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
we want to get away from square brackets:
from f[format_facet][]=Book
to something like
f.format_facet=Book
or even simpler, if possible:
f.format=Book
???
|
|
Description
|
we want to get away from square brackets:
from f[format_facet][]=Book
to something like
f.format_facet=Book
or even simpler, if possible:
f.format=Book
??? |
Show » |
|
?f[format_facet][]=Book&f[location_facet][]=Alderman Library
to
?f.format_facet=Book&f.location_facet=Alderman
If you have multiple values for a single field, they can be separated like:
f.library_facet=Alderman|Ivy Annex
Here's the source and tests if you're interested:
http://blacklight.rubyforge.org/svn/branches/rails-engines/trunk/rails/vendor/plugins/blacklight/lib/multi_param.rb
http://blacklight.rubyforge.org/svn/branches/rails-engines/trunk/rails/vendor/plugins/blacklight/lib/multi_param_test.rb
Matt