Skip to content
Snippets Groups Projects

interface: Return total number of search results in PagedResult object

Open Antoine Lambert requested to merge anlambert/swh-search:return-nb-search-results into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading