Skip to content

[BUG] Filter using Slim Select no longer sending form parameters #494

@duckworth

Description

@duckworth

Describe the bug
The default filters for string (equals, starts with, ends with, contains) no longer work. When the default active admin filter select is replaced with the Slim Select version it no longer sends the correct params, it just sends the default i.e. q[name_cont]: test even if you choose starts with, ends with, etc.

To Reproduce
Steps to reproduce the behavior:

  1. Start the dummy app using the latest versions:
    ransack (4.1.1),
    activeadmin (3.2.0)
    activeadmin_addons (2.0.0.beta.3)

  2. Goto /admin/categories

  3. choose "starts with"

image
  1. Click filter
  2. It sends up q[name_cont]: test and does not filter by starts with

Choosing any other filter option does not change the filter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions