I have used code to filter a gallery from ‘text’ type fields in the database with a search bar. This works fine. However, I am struggling to filter the gallery from a ‘boolean’ type field as well as a text type field.
I am struggling to fit getCurrentItem into the code. I would appreciate if you could explain further.
At the moment, when users type in a key word, this is associated with a text field in the database, and the correct results are filtered and displayed on the gallery. I have done this without using getCurrentItem.
I would like to filter the gallery based on the boolean field too, but I have been unable to incorporate this into my code at the moment.