Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B-Table Multi-filtering #3672

Closed
shiftmed opened this issue Feb 17, 2022 · 0 comments
Closed

B-Table Multi-filtering #3672

shiftmed opened this issue Feb 17, 2022 · 0 comments

Comments

@shiftmed
Copy link

Hello! There is a weird issue I am having with the latest version.

Overview of the problem

Buefy version: [0.9.14]
Vuejs version: [2.6.14]
OS/Browser: Mac OS / Chrome, Safari

Description

When I filter the table using a single field, it works fine. When I add another filter that does not match the current table content, it keeps displaying the current results (presumably using an OR logic).

Steps to reproduce

The table documentation (https://buefy.org/documentation/table) showcases this issue.
1 - Filter the table using any matching first name.
2 - Add another last name filter that should not match.

Expected behavior

I expect the filters to display the lines that match all the currently filtered columns.

Actual behavior

The table is being filtered using the logic: (id || first_name || last_name) if I start filtering using the First Name or Last Name columns.

If I start by filtering with the ID column, the displayed results seem to be filtered using the logic: (id && (first_name || last_name)).

Thanks!

@jtommy jtommy closed this as completed in 50a88fa Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant