Search not working for table table

What I’m trying to do:
I’m currently trying to see if a row exists in a table based of a column. Here, I am looking to see if AAPL appears in the feedback table under the column ticker.

What I’ve tried and what’s not working:
I tried using the .search method but it appears to always return “Undefined” (based on my debugging).

Code Sample:
result = app_tables.feedback.search(ticker=q.full_text_match('AAPL'))

It appears result is undefined

Welcome to Anvil!

What happens if you just do this :

result = app_tables.feedback.search(ticker="AAPL")

Here’s a working example :

https://anvil.works/build#clone:VDYRG6QHKOHCSPDR=MPUBSLFF2I3OMCVMJD5ETPLV

In ths server function I have both a normal search and a q_full_text_match() search. Both work.

2 Likes