I am working on Drupal 7 with view3 API. I have created views of article content type. I am displaying article listing with field title and image. I have used exposed filter for sorting. I want to be sort with field title and date. Sorting by date field is working fine. When we add field for sorting sort by ‘ title’ field from backend. ‘title’ field option is not coming in the views. People say default node title is not working with sorting exposed filter.
I am using search api and facet api modules without apache solr for searching.

Thanks in advance

Any idea??

Comments

knalstaaf’s picture

Make sure you indexed the title field as a string.

Index title as string

Parashram’s picture

Yeah, It works perfectly.

Parashram’s picture

Hello,

I need Expose filter of Title field on search view while title type is string type has been selected in index type which is required to sort the data on the basis of title field.

Any suggestion???

Parashram’s picture

It worked for me by adding related field "The main body text » Text" and Type : "Fulltext". for exposed filter.
And keep title Type : "Sting" for field display.

Thanks: