Staging instance, all changes can be removed at any time

Skip to content

browse: Improve browsing an origin with multiple visit types

Some origins in the archive can have multiple visit types since recently and could lead to confusing display in browse interface as the latest visit is selected by default.

So add a select element at the top right part of the UI enabling to switch the visit type for the browsed origin and update links by adding the visit_type query parameter to keep visit type context when navigating.

Also ensure to display all visit types for an origin in the origins search view when the visit type filter is not enabled.

Related to #4786 (closed).

To be noted, latest visit is still retrieved by default regardless of its type. We could prioritize the type of visits to display by default later.

image image

Merge request reports

Loading