wenzhixin / bootstrap-table

An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js)
https://bootstrap-table.com/
MIT License
11.73k stars 4.44k forks source link

Incorrect results when using array filter and some arrays are empty #7557

Open UselessGuru opened 1 week ago

UselessGuru commented 1 week ago

Bootstraptable version(s) affected

1.23.5

Description

Dropdown filter does not work properly when some objects contain an empty array (e.g. like last record in online example). The record(s) with empty arrays are always part of the search results.

In my opinion these should be omitted because they do not match the search criteria.

Example(s)

https://live.bootstrap-table.com/code/UselessGuru/18245

Possible Solutions

No response

Additional Context

No response

Hriishikeshh commented 6 days ago

interested in solving this issue can you assign it tom me under hacktoberfest2024 tags?

Keshav-1803 commented 6 days ago

Can you assign this issue to me under hactoberfest and gssoc