2

Grocery Crud provides the function order_by:

void order_by(mixed $order_by [, string $direction] )

However the field I need to sort is a varchar and I need to perform natural sorting. The MySQL query which correctly sorts the list is as follows:

ORDER BY 0+'field_name' ASC

Is there any way to specify '0+' in Grocery Crud?

thanks

SO_tourist
  • 430
  • 6
  • 13

0 Answers0