Support

Home Forums Event Espresso Premium Events of current month

Events of current month

Posted: March 6, 2021 at 1:45 am

Viewing 3 reply threads


Mark

March 6, 2021 at 1:45 am

Hi!
When the Event page of the event Espresso loads into the dashboard the list of events displays the events of last month. But I want when the list loads into the page it displays the events of the current month.
Now the current month is march but it shows the events of the month of February.
Screenshot of the page when it loads


Tony

  • Support Staff

March 8, 2021 at 4:13 am

Hi there,

The default ordering of events on the event table list uses the EVT_ID rather than date, so its not showing events based on last/this month but rather the EVT_ID in ascending order.

You can use something like this to change the default value to use the event start:

https://gist.github.com/joshfeck/3ad962e282219f922021ebf55d6d79e2


Mark

March 12, 2021 at 3:53 am

It works like a charm.
Thank you very much.


Tony

  • Support Staff

March 15, 2021 at 4:42 am

You’re most welcome.

Viewing 3 reply threads

The support post ‘Events of current month’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso