Hi This works like a charm, thanky you very much.
Regards, Jan [email protected] schrieb am Freitag, 4. Dezember 2020 um 11:28:28 UTC+1: > El jueves, 3 de diciembre de 2020 15:48:53 (CET) [email protected] > escribió: > > Hi > > > > Is it possible to add an action/button/whatever to let my users toggle > > between seach and field search in an List? > > > > Regards, Jan > > Hi > > By default, you must choose if you want to use search or field search > actions, > swapping search with field_search action (config.actions.swap :search, > :field_search), or leaving default search action. > > If you add field_search action, instead of swapping search, it will add > action_link to show search with same parameters as search's action link, > which > will open form for search action. You can define kind parameter of the > field_search's action_link: > > config.field_search.link.parameters = {:kind => :field_search} > > In this way, you will get 2 show search links, so you may want to change > some > labels too. > > Regards > > > -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/activescaffold/fcdca2cf-44ea-43fb-8ab1-6215015ae594n%40googlegroups.com.
