Chosen not working on Dropdown widget if there are no exposed filters on view.
Since both modules are being used heavily we could add support here for it.

Providing patch for it

Comments

xSDx created an issue. See original summary.

xsdx’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, chosen_not_working_on_dropdown.patch, failed testing.

xsdx’s picture

StatusFileSize
new694 bytes

Adding patch

xsdx’s picture

borisson_’s picture

Not sure about this, this might lead to use having to support (and test) even more modules. I think we shouldn't do this, but leave a not in the README.txt on how to implement this from custom code?

alan-ps’s picture

I agree that we do not need this. For my mind, we should create own widget which extends DropdownWidget in this case (in custom module, not in facets).

In addition, some users prefer to use other libraries (selectize js for example). It depends from requirements.

borisson_’s picture

StatusFileSize
new2.34 KB

Added this to the readme file, I hope this explains it fully.

borisson_’s picture

Status: Needs work » Needs review

NR

alan-ps’s picture

Status: Needs review » Reviewed & tested by the community

It looks good for me!

borisson_’s picture

StatusFileSize
new2.32 KB

Rerolled, seeing if the patch still applies.

  • borisson_ committed b48b467 on 8.x-1.x
    Issue #2853121 by xSDx, borisson_, alan-ps: Add documentation for chosen...
borisson_’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed. Thanks!

Status: Fixed » Closed (fixed)

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

geek-merlin’s picture