Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Typo in lib/Model.php?

edited March 2013 in Miscellaneous

Line 299: $order_by = isset ($this->fields[$name]['ordery_by']) ? $this->fields[$name]['ordery_by'] : false;

Should 'ordery_by' be 'order_by'? (2x)

Comments

  • (I was trying to figure out how to order by 'field=value DESC'. Possible?)

  • Right you are! Just committed a quick fix before bed :)

    And I believe you should be able to do a $q->order ('field=value DESC') just like that.

Sign In or Register to comment.