HomeSoftware Heritage

common/utils: Add function to get origin visit types dynamically

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

common/utils: Add function to get origin visit types dynamically

Instead of hardcoding the list of visit types that can be used in
search queries, retrieve it dynamically using swh-search.

Also remove visit_types from global template context processor
and move it to seach related views only to avoid sending a
request to elasticsearch on every page load.

Related to T3441

Commit No Longer Exists

This commit no longer exists in the repository.