Skip to content

IN Clause search does not permit multiple values #10105

Closed

Description

@pma-import

Problems while searching using the in clause. If there is a dropdown for the search column, it does not change to a test column when we select the IN clause.

Run the below sql to create a simple database and 2 innodb tables

create table test.customer(
    id int not null, 
    name varchar(20),
    primary key (id)
)
engine innodb;
insert into test.customer values (1,'foo'), (2, 'bar'), (3, 'baz');
create table test.address(
    id int not null,
    customer_id int not null,
    address varchar(20),
    primary key (id),
    foreign key (customer_id) references test.customer(id)
)
engine innodb;
insert into test.address values(1,1,'abc'), (2,2,'xyz');

Now go to the address table -> search
for column customer_id choose the Operator = IN(..)
The value remains a select option -

it has to change to a textbox option to allow multiple IN clause values


Activity

  1. pma-import commented on Nov 8, 2013

    @pma-import
    Author

    Hi,

    Would it be ok to have a multiple select in this case please?

    H.


    • Original author: tithugues
  2. pma-import commented on Nov 8, 2013

    @pma-import
    Author

    Yes.


    • Original author: lem9
  3. pma-import commented on Nov 9, 2013

    @pma-import
    Author

    Hi,

    Can I apply this to [NOT] BETWEEN search too ? I think this is relevant.

    Thanks.


    • Original author: tithugues
  4. pma-import commented on Nov 9, 2013

    @pma-import
    Author

    I submitted a pull request for this bug: #746


    • Original author: tithugues
  5. pma-import commented on Nov 10, 2013

    @pma-import
    Author
    • assigned_to: Marc Delisle

    • Original author: lem9
  6. pma-import commented on Nov 10, 2013

    @pma-import
    Author
    • summary: IN Clause search does not change to textbox --> (ok 4.1.0-beta3) IN Clause search does not permit multiple values
    • status: open --> resolved
    • Priority: 3 --> 1

    • Original author: lem9
  7. pma-import commented on Nov 10, 2013

    @pma-import
    Author

    Pull request accepted.


    • Original author: lem9
  8. pma-import commented on Dec 12, 2013

    @pma-import
    Author
    • Status: resolved --> fixed

    • Original author: lem9
  9. added
    Bug
    on Jul 24, 2015
  10. added this to the 4.1.0 milestone on Jul 24, 2015
  11. locked as resolved and limited conversation to collaborators on Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions