I have a question about lists

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 anni tempo fa
For example, my current list is the second page. I select a column of data from the list and click the details page. When I return to the list, it can still be the second page. The current return is the default first page. How should I modify the code? Which master has achieved it? Want to ask the next train of thought, thank you!!!
3 anni tempo fa
What "list" are you referring to?  (the results of an Advanced Search?)
3 anni tempo fa
In the background management, for example, 10 pages of data are found in the product module. I click on the product details in the third page, and when I return, the list can still be found on the third page
3 anni tempo fa
I believe you're referring to the DataTables lists in the Admin.  To retain the initial view you need to make use of the "stateSave" function:
https://datatables.net/reference/option/stateSave

It's not trivial, but here is a basic how-to:
https://www.nopcommerce.com/en/boards/topic/81622/returning-to-any-list-after-searching-and-editing-1-item-search-information-lost#264997
3 anni tempo fa
1010636858 wrote:
How should I modify the code?

About the code already mentioned @af1racing
You may start using browsers tabs. I know, that is not what you were asking, but available by default at any modern browser and available without any customization.

Regards,
Tom
3 anni tempo fa
Thank you for your reply. This is really the quickest solution
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.