Smart search filter field value

Peter Otmar asked on May 20, 2015 00:33

Hi

I'm trying to filter search results based on a field value. My mart search index has a field name "lastname". I have created a filter with a drop down with following values : ;;All +lastname;;Last Name

As per documentation the syntax should be: Index field name;Value of the field;Displayed text.

How do I supply the "Value of the field" which comes from "searchtext" to the above conditional filter?

Do I have to create a custom filter?

Thank you for any help with this.

Regards

Peter

Recent Answers


Charles Matvchuk answered on May 20, 2015 01:02

I would create the custom filter (.ascx). It would be quick, shouldn't take you much time at all.

0 votesVote for this answer Mark as a Correct answer

Peter Otmar answered on May 20, 2015 05:25

Thanks Charles, I was leaning towards that solution but wanted to make sure I have not missed anything obvious.

Regards Peter

0 votesVote for this answer Mark as a Correct answer

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