Skip to content

Filter only works for single-database connections #141

@jrebs

Description

@jrebs

When connected to a MySQL server that contains numerous databases and allowing sqlit to browse them all, the filtering function doesn't seem to work as expected.

If I set my connection up to connect into a single database, then filtering in the explorer pane narrows down the table list to those which match my input. If I allow sqlit to connect me without a database specified, then the filter functionality doesn't work and returns no matches, even for the tables in the current selected db when I start the filter input.

I have created two connections to demonstrate this. Both connections are coming from the same client and host, connecting to the same server using the same credentials. The only difference is one connection is configured to use only the 'CS' database while the other uses the (empty = browse all) option.

In each screenshot, I simply open the connection, select the CS database, expand the table list, and then hit '/' to enter a filter of "cs_user". You can see the outcome difference below:

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions