from my part what I was interested in was the automated rendering of an advanced search if it exists - I'm thinking of a reflection based approach to offer up an advanced search for a model where the search fields includes all the attributes - a bit like some of the graphic query tools you see where you choose the attributes, then an operator (e.g. equals, not equals, greater than, like, etc) and then a value...
some of the AS developers are obviously done a great job applying this sort of reflective approach On Nov 26, 7:12 pm, "Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::." <[EMAIL PROTECTED]> wrote: > El Wednesday 26 November 2008 00:37:57 dimitris escribió: > > > Hi, > > > Do you have an example of the possibilitites that field search gives? > > I've tried to search for this, both here and on github, but have found > > nothing of value, especially for date ranges. > > No, but you only have to try it. > > Numeric fields has inmediately a comparator selector and a text field. Date > fields has inmediately two date fields selectors for search in a range. You > can specify search_ui to change default fields. You have in API column > documentation the available > search_uihttp://github.com/activescaffold/active_scaffold/wikis/api-column > > > > > > > Thanks in advance > > > On Nov 17, 10:35 am, "Sergio Cambra .:: entreCables - Symbol Servicios > > > Informáticos S.L. ::." <[EMAIL PROTECTED]> wrote: > > > El Friday 14 November 2008 18:48:23 Tys von Gaza escribió: > > > > The list filter plugin could be tweaked to do that with a custom made > > > > filter. It is a bit out ofdateand I don't have time to update it > > > > but it should be too hard to get working. > > > > >http://code.google.com/p/activescaffoldlistfilters/ > > > >http://github.com/lightningdb/active_scaffold_list_filters/tree/master > > > > > As I don't have time to work on this project I'm open for someone > > > > taking it over. I have some additional code that I can submit that > > > > really cleans up the user interface. If anyone is interested in > > > > taking over the project please contact me. > > > > > Tys > > > > FieldSearchin Active Scaffold has been improved. > > > Also old funcionality tosearchfor some string in each field, andsearchin > > > some fields of associations, now you cansearchdateranges,searchfor > > > number with conditions (<, <=, >, >=, = and range),searchfor some records > > > in associations (select and multi_selectsearchui). > > > > Now it's easily extensible, you can add newsearchui methods and you can > > > add a condition_for_#{search_ui}_column to set specific conditions for > > > sql. > > > > > On Oct 29, 6:48 am, Sri Sri <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > I need to work on AdvanceSearchfacility and was working if any one > > > > > explored this feature earlier. > > > > > > If I don't find anything I thought the easiest way is to write an > > > > > advance_search action with a view for drop downs to select different > > > > > conditions and then change my 'conditions_for_collection' in the > > > > > controller to reflect the advance_search selection. > > > > > > Thanks for any hints. > > > > > Sri > > > > -- > > > Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::. > > > Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza > > > T) 902 021 404 F) 976 52 98 07 E) [EMAIL PROTECTED] > > -- > Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::. > Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza > T) 902 021 404 F) 976 52 98 07 E) [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 -~----------~----~----~----~------~----~------~--~---
