I have a script that resets the portal row to the latest record. I don't want this and the portal does not have 'reset' checked. Also there is nothing obvious within the script causing the reset. I have another, similar script on a portal button that doesn't do this. However, the differences in script haven't given a clue to why one 'resets' and the other doesn't.
Are there any clues I could look for in the script?