how can sort event id in desc order?
my events coming , default sort asc order , want sort events desc order. latest event show first.
code have used,
if(jquery().fullcalendar) { eventorder: "eventorder", }
from eventorder
documentation.
a name of event object property, "title". can name of non-standard field. sorting happen in ascending order. if prefixed minus sign "-title", sorting happen in descending order.
so set -
eventorder: "-id",
Comments
Post a Comment