Navigating back to "Parcels" page
When coming to a parcel's page from the "Parcels" page or an investigation's "Shipping" tab, we should show a link to navigate back. This link should include any URL parameters used to persist the state of the parcels table on the page of origin (see #364 (closed)).
We shouldn't use history.back()
for this, as this can lead to confusing behaviours. Instead, we could perhaps store a state in the history with pushState
, or keep and forward the parcels table's URL parameters (but what if there are none?)