filter is not working in this case

6 Replies
ba_mbi_07
ba_mbi_07OP2y ago
this is my default table list code
Dennis Koch
Dennis Koch2y ago
Please provide some info. What is "not working"
ba_mbi_07
ba_mbi_07OP2y ago
my total data is like 1356 something after using filter its decrease my total data to 1136 even though I selected nothing in fliter
ba_mbi_07
ba_mbi_07OP2y ago
i want to know even though i selected nothing for filter why query() is running
Hro
Hro2y ago
because the default state is null I guess? so perhaps it filters all where meta_value = null? Try to check if $state is not an empty value before you filter.
ba_mbi_07
ba_mbi_07OP2y ago
yeah it worked ...Thanks
Want results from more Discord servers?
Add your server