As exposed in attached screenshot, dates are not sorted in "Pricing Details".
This is serious, because we will bring this unsorted list inside in the cart and then the order itself.

Maybe adding this row at line 419 of hotel_booking.util.inc will be a proper solution?

hotel_booking.util.inc:419

  $query .= "ORDER by calendar_dt" ;

Hope will help

Augusto
http://www.fagioli.biz

CommentFileSizeAuthor
disordered-nigths.png14.61 KBafagioli
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

afagioli’s picture

Title: Dates in "Pricing details" need to be osorted » Dates in "Pricing details" need to be sorted
larowlan’s picture

Status: Active » Fixed

Added something similar to dev version

afagioli’s picture

great!
thanks a lot

larowlan’s picture

Status: Fixed » Needs work

had to roll this back, it was messing with the cart display (at least in my timezone/locale settings), ie you would search for 1 night but the cart display and prices would calculate on 607 nights.
Very weird.

afagioli’s picture

not sure I understand what's happening.

I've noted this weird thing: http://drupal.org/node/1043422

Don't know if it's related.

Hope will help

afagioli’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)