Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Grails-FilterPane 2.0.1
-
Fix Version/s: None
-
Labels:None
-
Environment:Grails 1.3.7 on Windows XP
Description
For 2.0.1, line 140 of FilterPaneTagLib.groovy should read
if (key.startsWith('filter.op.') && filterOp != null && filterOp != '')
instead of
if (key.startsWith('filter.op') && filterOp != null && filterOp != '')
otherwise you get funny results if your domain class happens to have an attribute starting with 'op', in my case 'openedAt'.