cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sort in order history page is not working except one page

Former Member
0 Likes
359

Hi Experts ,

I am facing one problem in which sort is working only one first page and from 2nd page on words,

sorting not working .

Could anyone suggest me what could be the reason behind this ?

Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hi Himanshu,

Thanks for your reply .

I seen that , on the first page url looks like below :

/my-account/invoice-history/view?&sort=documentNumber-asc

but once clicked on 2nd page , url become as below :

/my-account/invoice-history/view?&&page=2.

So whenever clicked on 2nd page on-words , sort will convert as page and that's why sorting not

working on 2nd page on words .

Could you please suggest , why its happened ?

Regards,

Former Member
0 Likes

Did you check if the sort parameters are being sent to controller after the 2nd page is loaded? if not can you please check the same? My guess because of the way the form is getting submitted the sort parameters are not been sent in the second call please check the same and confirm.

thanks,