I've inherited an ASP.NET Core Razor Pages app. One of the pages displays a paginated list of results it sets using `OnGetAsync`.
On this page, I need to add an advanced search which will call an `OnPostAdvancedSearch`. This will display the results back to the same page. Having done this in the MVC world, I remember having to intercept the paging links via JS and determine if we were doing an advanced or basic search. If advanced, we'd submit the form to the POST (otherwise the Get was called, which reset the search)