Grails-Plugin-Consortium / grails-filterpane

Filterpane plugin for grails.
Apache License 2.0
16 stars 44 forks source link

Load class names from database to enable the suggestion for class attribute filtering #34

Closed kuceram closed 10 years ago

kuceram commented 10 years ago

This enables the user to directly select values stored in database for Class attribute of domain class. It works similarly for "class" attribute automatically included when a domain class has its own subclasses.

kuceram commented 10 years ago

@ctoestreich could you release new version with this fix please? :-)

ctoestreich commented 10 years ago

Released 2.3.2

kuceram commented 10 years ago

Thanks :-)

ctoestreich commented 10 years ago

This feature isn't working correctly in the filterpane demo project. Trying to filter by class with the tag lib throws an error. Any change you can look at that?

ctoestreich commented 10 years ago

To see the error run the demo, go to the book page and attempt to filter by class type magazine.

ctoestreich commented 10 years ago

I think I made some progress on this. There was a bug where it would look for the domain class property of 'class' that would bomb.

kuceram commented 10 years ago

Thanks, that was the problem :-)