Hi,
I am working on new small feature navigating to previous or next record(specific doctype) for which I have placed two arrow head near a group of a button. Any suggestion from you guys is welcome, please let me know your reviews.
Is the pagination tied to the list and filters in any way? How does it âknowâ what is next? Ideally this would be derived from the list in some manner. So if I apply a filter and then open a record, the next/previous buttons would be linked to the filtered list.
form.js and toolbar.js in this PR, but I donât think that all the logic is there; there should be a callback to the server to determine the next or previous document and the sort criteria. There are front end tests written, but it would be highly appropriate/ nearly required to write a new Cypress test for this.
@vrms, the comment becomes less foggy if you also read the PR Description and Title, and look at the code changes. the PR was an incomplete one, there was only a UI added with no functionality.
I think @khushal_t was requesting some Help from the community regarding the PR. Hopefully, @dam_89 can collaborate and complete this feature. It would be a neat feature to have in ERPNext.
I canât reproduce this error, it works fine for me if the list is sorted by last modified on and created on. Is there any more information you can give me regarding this error? What is the error on the browser console?