Closed paul-tqh-nguyen closed 5 years ago
This isn't a fool-proof plan.
We can store the index of the field being shown currently, but there is no guarantee that the index will always correspond with the same research field and there's no guarantee that the research field will always exist in the DB.
The DB can change such that the number of research fields changes, so the same link will take us to a different place.
The DB can change such that a research field's name changes.
This feature would still be nice as this would work most of the time.
However, given the above and the lack of a true motivating case, we'll put it off for now.
This goal was accidentally accomplished in passing as part of https://github.com/paul-tqh-nguyen/arxiv_as_a_newspaper/commit/f4c41721ece572e2ac5a1772f6604e18028122b1.
This will let us refresh the page and not lose state.