Hi, I've a column which is char(1). Entries have these possible values:
- "U"
- "R"
- "P"
- "" <--- empty string
In the controller I show a select:
config.columns[:Status_Flag].form_ui = :select
config.columns[:Status_Flag].options = {:options =>
[
["-: Permitido (pass through)", ""],
["P: Permitido (pass through)", "P"],
["R: Forzado (restricted)", "R"],
["U: Prohibido (unrestricted)", "U"]
]
}
When searching entries with value "P" I see this query (it works):
SELECT `clis`.* FROM `clis` WHERE (((Status_Flag in ('P')))) ...
But when I search for entries with value "" the query is "wrong":
SELECT `clis`.* FROM `clis` ...
This is, there is no filter in the search. How could I solve it?
Thanks a lot.
--
Iñaki Baz Castillo
<[email protected]>
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.