hehe, that link is https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/725-filter-menu-does-not-properly-determine-current-selection
On May 19, 11:48 am, Bryan Larsen <[email protected]> wrote: > This looks like a bug to me. It appears that we're calling "to_s" on > your pair to determine the current selection. It's even worse than > you thought: it's not comparing the wrong format, it's comparing > against a combination of the 2!. I > openedhttps://hobo.lighthouseapp.com/projects/8324-hobo/tickets/newto deal > with it. > > Bryan > > On May 19, 5:44 am, paulo <[email protected]> wrote: > > > > > Sorry, another quick (and really simple I'm sure) question as well > > about filter-menu's: > > > In defining custom options for a filter-menu, I am providing an array > > of pairs i.e. the post value and the display value. In this case, its > > dates so for example, I want my filter to post '2010-01-01' but to > > display 'January 2010'. This works fine but when the page refreshes on- > > change, the filter-menu is not pre-selecting the current option > > applied. I presume it is comparing the two different formats and not > > getting a match, thus defaulting to 'All'. > > > Is there a way to avoid this behavior? > > > Again, many thanks > > > Paul > > > On May 19, 10:27 am, paulo <[email protected]> wrote: > > > > Hi all, > > > > Is it possible to use optgroups within a filter-menu? I am creating an > > > array within my controller to populate my filter-menus but am not sure > > > how I could implement these groups within the menu / options array? > > > > Thanks in advance. > > > > Paul > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Hobo Users" 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 > > > athttp://groups.google.com/group/hobousers?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Hobo Users" 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 > > athttp://groups.google.com/group/hobousers?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" 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 > athttp://groups.google.com/group/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
