nyeholt / silverstripe-solr

SilverStripe and Solr integration ssaumodule
BSD 3-Clause "New" or "Revised" License
19 stars 18 forks source link

SortBy LastEdit is not sorted properly in order #23

Closed blpraveen closed 10 years ago

blpraveen commented 10 years ago

SortBy Lastedit is not showing properly in the order on the lading page? What am I missing here in the configuration. Other Sortby like Title is working properly solr

blpraveen commented 10 years ago

I checked the database . it is sorting properly. The issue is here with the "Last edited $LastEdited.ago" it is not getting proper value in the ago. Where the LastEdited value gets converted into ago. I am working on Sliverstrip version 2.4

michalkleiner commented 10 years ago

You should probably use newer version of Silverstripe, currently it's 3.1.6. There might be some dependencies that are not working in 2.4 branch.

Anyway, this looks like a controller/template issue rather than a problem of this module.

blpraveen commented 10 years ago

This Issue must be closed. It is not an template issue. Lastedit was not added to searchablefields. After adding LastEdit to searchable fields it is working