Open
Description
Hi,
thanks for your plugin. I just discover an error on my search results page.
I understood that the JS only works for rewrited URL when finishing like "/page/2/"
but on a search page, we have an URL like "/page/2/?s=search_tag&<other_get_vars>".
So I changed reg exp in byscripts_ajax_posts_loader.js.
I replaced :
var next_link = page_link_model.replace(/\d+(/)?$/, page_number_next + '$1');
By :
var next_link = page_link_model.replace(//page/\d*?//, "/page/"+page_number_next+"/");
It works fine in my case but I don't if it works for all. Can you tell me if you have another solution and update your plugin ?
Have a good day,
Nico
Metadata
Metadata
Assignees
Labels
No labels