Last search missing when using browser back button

PHPMaker v2025.8

Scenario:

  1. Search something using Quick Search on the List page.
  2. Click View button or Edit button then click browser Back button
  3. Go to other module then back to the module you’re doing the search.
  4. The last search value is lost.

If you click Edit button and then click Cancel. The last search data is ok.

If you click other module and back to the module, the last search is ok.

It is only missing when you click browser Back button. When we go to View page, there is no back button so usually user will click the browser Back button.

Bugs?

I believe that is not a bug. It actually depends on the URL you visit after go to that other module. You may check the URL, if it contains ?cmd=resetall then the previous result search you visit will be lost. If the URL does not contain that resetall command, then previous result search still remains when you visit that URL again.

Hi mobhar,

No, it is not cmd=resetall, it is normal side menu link generated by PHPMaker.

You can try my example as I explained above:

  1. Do a Quick Search. Click View button, click browser BACK button, click other menu, then click back the same module u search. The search not working anymore

  2. Do a Quick Search. Click Edit button, instead of clicking CANCEL button, you click browser BACK button, click other menu, then click back the same module u search. The last search value is not there anymore

I run the test again, now using different browsers. This issue occurred when using Edge and Firefox. Using Chrome doesn’t show this behavior. I have cleared all cookies and history before performing this test for all browsers

Do let me know if you’re able to simulate the scenario using the browser that I mentioned.

I have just already tested by using demo2025 generated web application in those 3 browsers (Edge, Firefox, and Chrome).

Fortunately, there are no issue at all. Everything is fine here.

You may try this following steps:

  1. Login to generated web application using username admin, password master,
  2. Go to Customers List page, and do a quick search,
  3. Click on View or Edit button from one of the records in search result,
  4. Click on Back button in browser, the search result still remains,
  5. Go to Orders List page via menu item in Sidebar,
  6. Then click on Customers List page again via menu item in Sidebar, then the search result still remains, also.
  7. I am really sure, for all those 3 browsers, there are no issue, at all.

It seems to be working again now. I’ve also cleared the browser cache. Let me monitor and see if it happens again. Thanks for testing on your side.