Start date for charts

johnchansa
@johnchansa
10 years ago
195 posts
In JR4 it was possible to specify the start date for the charts.Is it possible in JR5?
If so how do you add it the jrCore_listing function or the appropriate function?An example would help...
updated by @johnchansa: 06/26/14 06:59:02PM
michael
@michael
10 years ago
7,718 posts
you can use chart_day_start / chart_day_end to pick a start date in the format yyyy mm dd

so an example with the audio module would be:
{jrCore_list module="jrAudio" chart_field="audio_file_stream_count" chart_day_start="20140101" chart_day_end="20141231" template="music_chart_genres_row.tpl"}

is asking for the stream count from the beginning of 2014 til the end of 2014

Tags