yadcf order number in dropdown menu

yadcf order number in dropdown menu

mbencimbenci Posts: 11Questions: 6Answers: 0
edited August 2014 in Free community support

Dear all,

I have a dropdown menu in yadcf filter with some numbers. I'd like that the numbers to be sorted from the smallest to the largset (1, 2, 3, 4, 5, 6 etc). But now the number 10,11,12 are before than number 2 (1,10, 11, 12, 2, 3 etc).
Is there a way to order appropriately?

Thanks and regards,
Marco B

Answers

  • daniel_rdaniel_r Posts: 460Questions: 4Answers: 67

    http://yadcf-showcase.appspot.com

    Read about sort_as and sort_order in the yadcf js file (for whom did I wrote the doc and built the showcase ? :) go through the docs / showcase) in order to become a master of yadcf you must learn... :)
    Good luck...

This discussion has been closed.