Hello,
I need to be able to sort results by clicking on column header. I know how to do it, but the problem is it sorts all the results. I have a "search by" form. So the results I get come from that search form, depending what user is looking for. Then in the results I need to include sort by clicking on column header, but each time I click on header...it displays all the results (including those user aren't interested). So it runs query again, but since it doesn't run from the form, whatever user entered in the form, is not defined anymore. Does anybody knows way around it?
Thank you!
I need to be able to sort results by clicking on column header. I know how to do it, but the problem is it sorts all the results. I have a "search by" form. So the results I get come from that search form, depending what user is looking for. Then in the results I need to include sort by clicking on column header, but each time I click on header...it displays all the results (including those user aren't interested). So it runs query again, but since it doesn't run from the form, whatever user entered in the form, is not defined anymore. Does anybody knows way around it?
Thank you!