Hi!
I fill default option label field in facet setting page, but in the select option don't use this settings. I created a patch.
Check it please. Thank you!
Bye.

Comments

lohndaniel’s picture

Status: Active » Needs review
StatusFileSize
new1.29 KB
nickbumgarner’s picture

#1 worked for me.

recrit’s picture

The option "default_option_label " is provided by facetapi_select and not ajax_facets. For this to be a patch, the form element needs to be provided by ajax_facets also.

recrit’s picture

The attached patch adds the form element similar to https://www.drupal.org/project/facetapi_select.

eugene.ilyin’s picture

Sorry, but it's not clear for me, what is the option "default option label"? I have no this option in my testing environment. Should I install some special module?

eugene.ilyin’s picture

Status: Needs review » Postponed (maintainer needs more info)
maximpodorov’s picture

Status: Postponed (maintainer needs more info) » Active

There is the problem. Ajax facets expects that the label 'Select' in select widgets is the same for every widget in the page. So it's impossible to set different 'Select' labels for different facets. I need two select facets with labels 'Select organization', 'Select title', but it's not possible currently.

  • eugene.ilyin committed 07acf37 on 7.x-3.x authored by recrit
    Issue #2460241 by darge, recrit: Default Option Label is not working...
  • eugene.ilyin committed 1f3b130 on 7.x-3.x authored by recrit
    Issue #2460241: Default Option Label is not working with select widget
    
eugene.ilyin’s picture

Status: Active » Fixed

Solved. Commited into 7.x-3.x

  • eugene.ilyin committed 502cede on 7.x-3.x
    Issue #2460241: Default Option Label is not working with select widget
    
maximpodorov’s picture

A wise decision to check the key instead of the value.

eugene.ilyin’s picture

Yeah, I was wrong :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

eugene.ilyin’s picture

eugene.ilyin’s picture