INL / corpus-frontend

BlackLab Frontend, a feature-rich corpus search interface for BlackLab.
16 stars 7 forks source link

Minor bug with findHit (document view) #533

Open KCMertens opened 1 month ago

KCMertens commented 1 month ago

There are two conflicting methods for hit navigation in the article view that can cause the current page in the document to change when the website is reloaded. (when the current url contains only findHit, findHit is removed and replaced by #hit-index e.g. #10. When refreshing, there are no longer wordstart/wordend parameter, and no findHit, the backend will serve the first page (with a hit?).

How it should work: