search filters and inspection polish
This commit is contained in:
parent
b8627c0e1d
commit
8d1e1ff583
6 changed files with 209 additions and 22 deletions
|
|
@ -580,5 +580,17 @@ class RegistryService:
|
|||
def ability_map(self, repository_id: int) -> RepositoryAbilityMap:
|
||||
return self.store.get_ability_map(repository_id)
|
||||
|
||||
def search(self, query: str) -> list[SearchResult]:
|
||||
return self.store.search(query)
|
||||
def search(
|
||||
self,
|
||||
query: str,
|
||||
*,
|
||||
status: str | None = None,
|
||||
language: str | None = None,
|
||||
framework: str | None = None,
|
||||
) -> list[SearchResult]:
|
||||
return self.store.search(
|
||||
query,
|
||||
status=status,
|
||||
language=language,
|
||||
framework=framework,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue