When I request the songs or artists in a genre, how can I do pagination? I have below the commands to request the list of results and they work fine, but when I try to use pagination it will return results from outside the genre defined.
How can I pass the variable of the genre to make the pagination possible?
Songs:
{jrCore_list module="jrAudio" chart_field="audio_file_stream_count" chart_days="7" search = "audio_genre = {$genre_to_show|replace:'songs_':''}" order_by="audio_file_stream_count numerical_desc" quota_id="4" template="new_songs_details.tpl" pagebreak="10" page=$_post.p assign="TOP_TEN_CHARTS"}
Artists:
{jrCore_list module="jrProfile" order_by="profile_name asc" search1="profile_active = 1"
search2="profile_genre = {$genre_to_show|replace:'songs_':''}"
template="artist_list_details.tpl" require_image="profile_image" assign="ALL_ARTIST"
pagebreak="10" page=$_post.p}
Thanks for the help!
updated by @maxcinsay: 02/03/14 09:28:42PM