Block "grid_picker_filter" incorrectly defines filter type resulting warning, when in use

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Jan 25, 2011, 5:55:20 AM1/25/11
to In-Portal Bugs
In-Portal uses advanced data filtering system, where developer can define filter type that will be used for each field being displayed in grid.

For example "grid_options_filter" block will produce SQL like FieldName = ID1, when in used. On the other hand block "grid_picker_filter" will produce SQL like FieldName LIKE '%|ID1|%' when used.

I've noticed, that when "grid_picker_filter" block is used, then I've got warning what it 'options' type filter is undefined for that field. That's obviously is a copy-paste error, since that filter was copied from "grid_options_filter" at some point of development.



Ready for testing.
warning_when_picker_filter_is_in_use.patch

Dmitry A.

unread,
Jan 25, 2011, 11:23:09 PM1/25/11
to in-port...@googlegroups.com
Thanks for the patch.

Reviewed and tested okay!


DA
Reply all
Reply to author
Forward
0 new messages