Numeric columns not shown once using Fields(Optional)
-
issue 1)
I wrote a query where I select some alphanumeric and some numeric fields. The query itself works fine (tested in phpadmin), and works in your plugin as long as I don’t use the part Fields(Optional).
I needed to add the fields in this part “Fields(Optional)”. because I want to use the search functionality. This works fine for all alpha fields, but not for the numeric fields. These columns remain empty (using ‘data type = Text’) or all zeros if using data type = Number (no decimal). Type in the mySql database is decimal(12,0). Field created with your pods plugin.
If I change the datatype of the pods field to ‘plain text’ (varchar 255), the query works fine and now this column shows its data, even while using the “Fields(Optional)” part
It’ll be great if this could be fixed, so that numeric data is still shown correctly, when using the “Fields(Optional)” part?
issue 2)
Further, once there is the need to use this “Fields(optional)” part for just one column, you must add all selected fields in this part. Otherwise only the added fields are shown in the result. Why is that the case? Now, I select 20 fields, and only 2 need to be searchable. To make these 2 columns searchable, I need to add all 20 fields in this “Fields(Optional)” part.
- The topic ‘Numeric columns not shown once using Fields(Optional)’ is closed to new replies.