Where condition in Reapeater

Vishal Bhatt asked on June 20, 2024 09:33

I have created a page type (blog) with some fields in those fields i have one text field (BlogCategory) and for user control, I have made it as a dropdown and the dropdown values I am fetching from Categories with SWL query. Now I have created a page where I am using a repeater to fetch all the blog pages with page type Blog. I am adding where Condition on repeater to fetch Only a specific blog Category but that condition is not working and it's working with other fields. Any Idea about this?

Recent Answers


Juraj Ondrus answered on June 20, 2024 12:31

It depends what it means is not working. Are there any errors? I would recommend using SQL debug to see how does the generated SQL query looks like - and it will give you hints what needs to be changed.

0 votesVote for this answer Mark as a Correct answer

Vishal Bhatt answered on June 20, 2024 12:37

I mean when i am applying the where condition with the field (BlogCategory) I am not getting the data but with other fields the where condition is working fine

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.