dataTable search for another table column in Laraship

Laraship QuestionsCategory: TechnicaldataTable search for another table column in Laraship
nao asked 6 years ago

I have a question.

Foe example, there are two tables.

table_a:

int id_a pirmary_key

string foo_name

table_b

int id_b primary_key (only inserting value of id_a)

If I show data table of table_b, and I set foo_name in getFilters() method, how do I code to search foo_name?