Skip to content

interface: Return total number of search results in PagedResult object

When searching for origins, add the total number of results in the returned PagedResult object.

As a new field is added and base PagedResult object RPC encoding/decoding is already handled by default in swh-core, we cannot inherit from the latter and have to redefine it in search interface.

The purpose of this new feature is to improve the webapp by:

  • displaying the number of search results in the search UI
  • updating coverage widget with counters of archived origins not discovered by a lister (for instance those from https://osdn.net/ that were bulk loaded: git, hg, svn, cvs).

Merge request reports