ss 3.6
I have added the following code to the page and although it works fine. I want to be able to sort the columns (ascending and descending) PricePerNight and FeaturedOnHomepage, but using .Nice formatting make the column sort feature inactive for some reason. Does anyone know any work arounds to have both.
private static $summary_fields = array (
‘GridThumbnail’ => ‘’,
‘PricePerNight.Nice’ => ‘Price’,
‘Title’ => ‘Title’,
‘Status’ => ‘Status’,
‘Proptype.Title’ => ‘Type’,
‘Pricetype.Title’ => ‘Type’,
‘Bedrooms’ => ‘Beds’,
‘NiceDate.Nice’ => ‘Updated’,
‘countImages’ => ‘Images’,
‘CreatedDate’ => ‘Added’,
‘FeaturedOnHomepage.Nice’ => ‘Featured?’
);