Skip to content
  • Yorick Peterse's avatar
    Refactor Gitlab::ProjectSearchResults · 837ed19d33af
    Yorick Peterse authored
    Previously this class would be given a project ID which was then used to
    retrieve the corresponding Project object. However, in all cases the
    Project object was already known as it was used to grab the ID to pass
    to ProjectSearchResults. By just passing a Project instead we remove the
    need for an extra query as well as the need for some other complexity
    in this class.
    837ed19d33af